On Jan 16, 2012, at 12:18 PM, Solomon Seal wrote: > I am trying to use <filter-menu> to filter the index page of one of my > controllers. It works for object that are a part of the model directly, but > does not work for any of the child objects. Code examples below: > ====================================== > > class Plant < ActiveRecord::Base > > hobo_model # Don't put anything above this > > fields do > name :string > timestamps > end > > has_many :bloom_color, :through => :bloom_color_assignments, > :accessible => true
One other thing - have you tried pluralizing this? Hobo makes a fair number of assumptions when generating scopes, and having a has_many with a singular name may cause weird results. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
