Your SlideShare is downloading. ×
Instruments ruby on rails
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Instruments ruby on rails


Published on

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. Instruments of Ruby on Rails Pavlo Mashchak July 09, 2011 Common facets and principles of Ruby on Rails model. And additional instruments for rapid development.
  • 2. Instruments of Ruby on Rails Overview
    • For last several years we saw significant changes in web frameworks.
    • 3. Developers strive for:
    • 4. quality of code,
    • 5. speed of development processes,
    • 6. reliable code.
    • 7. Ruby on Rails in corporate all of these.
  • 8. Ruby on Rails incorporate all of these.
      It's modular.
    • With supplied plugins and gems you can build multi-level application. Just add source.
    • 9.
    • 10. Beside you own gem/plugins can be included into the project. Or even you can contribute to Rails if find some bugs.
    • 11. RVM, gem Bundler.
    • 12. RVM allows to install several Ruby versions on one machine and switch them by one command.
    • 13. Bundler allows to manage dependencies within different gems and install them into the system ether freeze into the project.
    Instruments of Ruby on Rails
  • 14. Instruments of Ruby on Rails rvm list, rvm install vim Gemfile bundle install
  • 15. Instruments of Ruby on Rails
      Don't create just generate
    • With rails generators you can generate any part of application or full fledged web page with integrated CRUD operations:
    • 16. rails g scaffold articles title:string body:text
  • 17. Instruments of Ruby on Rails
      Data layers
    • Bunch of different ORMs can expand any popular database you like.
    • 18. (Postgres, MySQL, MongoDB, Redis)
    • 19. and many others.
    • 20. ORM saves SQL code and allows to retrieve any instance associations from models. (Polymorphic, Single Table Inherited, eager joins etc.)
    This association generate 2 level join from Users table
  • 21. Instruments of Ruby on Rails
      Rails console
    • You can load all project environment and debug application in console
  • 22. Instruments of Ruby on Rails
      Test driven and Behavior driven development
    • Rails was designed to build your application in test or behavior driven style.
    • 23. You will always sure that you didn't break anything. And all features work as well.
    • 24. Rspec Cucumber WebRat
  • 25. Instruments of Ruby on Rails
      Deploy or create featured script tasks.
    • Rake and Capistrano
  • 26. Instruments of Ruby on Rails Conclusions
    • Ruby is not slow
    • 27. Rails is agile
    • 28. Rails is powerful and easy learning framework
    • 29. Top - 50 Rails sites:
    • 30. [Ruby on Rails, Scala] 190 mln users 65 mln tweeting
    • 31. 600 mln registered 45 mln month
    • 32. 1mln
    • 33. 3.3 million unique visitors per month
    • 34. 12 mln users and 65% market in poland
  • 35. Instruments of Ruby on Rails Thanks for attention. If you have any Questions. Mailto: [email_address] Skype: pavlomashchak