search for: update_collect

Displaying 1 result from an estimated 1 matches for "update_collect".

2007 Oct 01
4
Need Help with Custom Associations
...d the Rails Envy AAF tutorial at http://railsenvy.com/2007/2/19/acts-as-ferret-tutorial and its given me some really good ideas. My problem lies in having AAF search the target Model''s child tables. I have no problem at all doing something like: acts_as_ferret :fields => [:title, :update_collection, :member_name] def member_name return "#{self.member.username}" end However when I try to query child tables like such... def update_collection self.place_updates.collect { |update| update.description }.join '' '' end I have no luck. I...