First page Back Continue Last page Overview Graphics

ActiveRecord Dynamic Finders

Can use almost human queries

Example:

User.find_all_by_street_and_city(street, city)

Page.find_by_slug(“its-a-long-sad-story-id-be-tellin”)

Notes:

Obviously find_by_sql is also available. But with such nice wrappings there isn't much motivation to use it.