Read a useful posting on Ryan’s scraps about how to extend ActiveRecord. class Organization < ActiveRecord::Base This simply adds the ability to find_active
organization.people.find_active
has_many :people do
def find_active
find(:all, :conditions => ["active = ?", true])
end
end
end
Search
Categories
- 21apps(15)
- Community(45)
- Governance(8)
- Innovation Games(5)
- SharePoint(138)
- Visualisation(9)







21apps featured in the latest Innovation Games Newsletter! 