> I have successfully an filter-menu on an index view like this: > > Filter by owner: <filter-menu param-name="owner" options="&Model.all"/ >> > > How i can "populate" the filter with an custom query? something like > &Model.skinny ?
In your model named_scope :skinny, :conditions => "..." Read up on named scopes (Rails, not Hobo) for more info Tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
