1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

Ruby on Rails Tutorials — ActiveRecord

Ruby on Rails » ActiveRecord — about 9 years ago
You can pass more than simple strings to find conditions. Arrays, ranges, and nil values can be passed as well. In this episode you will see the tricks involved with passing these odd objects to find conditions.
Ruby on Rails » ActiveRecord — about 9 years ago
Did you know ActiveRecord provides class methods for performing calculations on models? You can even use these methods through associations.
Ruby on Rails » ActiveRecord — about 9 years ago
No need to pass foreign keys in find conditions, just do the find through a has_many association.
Ruby on Rails » ActiveRecord — about 9 years ago
Shorten simple finds considerably and improve readability by using the dynamic find_all_by and find_by methods.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?