search for: place_updates

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

2007 Oct 01
4
Need Help with Custom Associations
.... 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 know the method is working because if I do something like raise Model.find(5).update_collection.inspect it returns a string with all descriptions. Any ideas? I would really appreciate any help! Dave --...