Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Dynamic find_by Methods

#2 Dynamic find_by Methods

Mar 06, 2007 | 1 minute | Active Record
Shorten simple finds considerably and improve readability by using the dynamic find_all_by and find_by methods.
  • Download:
  • mp4Full Size H.264 Video (2.55 MB)
  • m4vSmaller H.264 Video (1.88 MB)
  • webmFull Size VP8 Video (5.08 MB)
  • ogvFull Size Theora Video (3.06 MB)