RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: mbaev
find_by will return only one row, while find_all_by (not find_by_all) returns all of found records.
But now find_all_by is deprecated and you need to use where. Example:
# should be replaced with