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(16)
- Community(50)
- Governance(11)
- Innovation Games(5)
- SharePoint(147)
- Visualisation(13)







