• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
What's up in ruby for Java developers
 

What's up in ruby for Java developers

on

  • 1,560 views

Show to Java developers how things are developed in Ruby and the Ruby/Rails equivalent of Java frameworks. ...

Show to Java developers how things are developed in Ruby and the Ruby/Rails equivalent of Java frameworks.

Presentation I gave at the Tours Java User Group (Wednesday, the 20th of April 2010).

Statistics

Views

Total Views
1,560
Views on SlideShare
1,560
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    What's up in ruby for Java developers What's up in ruby for Java developers Presentation Transcript

    • What's up in Ruby for Java Developers Tours JUG 2011.04 Thomas Queste www.tomsquest.com
    • Rspec
      • Junit : loooong test methods
      • public myMethod_ should DoSomething_ when Something()
    • Rspec
      • Rspec : test contexts
      • describe ”MyClass”
      • describe ”MyMethod”
      • context ”With something”
      • it ”should do something”
      • context ”With something else”
      • it ”should do something else”
    • Rspec
      • Search
      • #find_offers
      • when a spread type is specified
      • should filter by spread_type
      • for the currency pair 'EUR/USD'
      • should search by min spread
      • should search by typical spread
      • should search by min OR typical spread
      • should ignore a spread of 0
    • Factory Girl
      • Generate test data
      • my_user = Factory(:user)
      • Factory.define :user do |b|
      • email ” [email_address] ”
      • # email Faker::Internet.email
      • end
    • Active Record
      • Relations
        • class Article < ActiveRecord::Base
        • has_many :authors
      • Query
        • Article
        • .where( :language => ”en” )
        • .order(”updated_at desc”)
    • Migration
      • Versionned database
        • class CreateArticles < ActiveRecord::Migration
        • def self.up
        • create_table :articles do |t|
        • t.string :title
        • t.text :body
        • t.timestamps
        • end
        • end
        • def self.down
        • drop_table :articles
        • end
        • end
    • Bundler
      • Dependency management
        • gem 'rails', '3.0.6'
        • gem 'formtastic', '~> 1.1.0'
        • group :test do
        • gem 'factory_girl_rails'
        • end
    • Heroku
      • Simple Cloud deployment
        • heroku create myapp
        • git push heroku master
      • Addons
        • heroku addons:add sendgrid
    • GitHub
      • Souce management
      • Social
      • Fork/Pull Request
      • ...
    • Thanks Thomas Queste www.tomsquest.com @ThomasQueste [email_address]