• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Rails after 5 years
 

Rails after 5 years

on

  • 706 views

Short presentation given on the cool stuff in Rails 3. Impressions coming from a Developer who used Rails up to 0.12.1 and then came back to Rails 3.

Short presentation given on the cool stuff in Rails 3. Impressions coming from a Developer who used Rails up to 0.12.1 and then came back to Rails 3.

Statistics

Views

Total Views
706
Views on SlideShare
706
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

    Rails after 5 years Rails after 5 years Presentation Transcript

    • Cool Stuff in Rails 3Cool Things that have happened in the past 5 years
    • What’s this about• 5 years ago used Rails up to version 0.12.1• Revisiting now with Rails 3• (http://railstutorial.org)
    • Heroku• Deployment used to be really harsh• Deployment + pain in production killed my rails world• Heroku is unreal
    • • gem install heroku• heroku keys:add• heroku create• git push heroku master• heroku open
    • nginx + Passenger• http://nginx.org/• http://www.modrails.com/
    • spork• makes your tests fly - at least run quicker• uses unix process forking goodness • doesn’t need to load stuff• gem install spork + tricks (see rails tutorial).• http://ruby.railstutorial.org/chapters/static- pages#sec:spork
    • Demo
    • rob@gonzo$ time rspec spec.......................................................................................Finished in 2.46 seconds87 examples, 0 failuresreal 0m3.092suser 0m0.245ssys 0m0.155srob@gonzo$ time rspec specNo DRb server is running. Running in local process instead ..........................................................................................Finished in 2.12 seconds87 examples, 0 failuresreal 0m19.755suser 0m5.541ssys 0m1.872s
    • spork• Some changes require restart (model changes/ routes)
    • Bundler• http://gembundler.com/• Gemfile• bundle install
    • Autotest• Run tests continuously• watches filesystem for changes• runs tests when file changes• autotest + growl on mac is cool
    • Demo
    • • http://ruby.railstutorial.org/chapters/static- pages#sec:autotest• https://github.com/svoop/autotest-growl
    • Community• This room• web • tutorials • podcasts • blogs • mailing lists
    • RubyMine• very cool• understands Ruby• understands rails• understands Gems
    • End