Look at the association filter in the list filters plugin.  You'll
need to change what it is collecting, ie instead of collecting and
display and filtering on a set of associations, you'll have to do it
for all the unique values in column in your table.  It should be
relatively simple to get something working, but don't be scared to
dive in the source code!

Tys


On Sep 10, 12:50 pm, Wes Gamble <[EMAIL PROTECTED]> wrote:
> I'm working with active_scaffold_list_filters, and it turns out that by
> default, it only handles filtering on association objects and displays
> them using AS's "to_label" method, which looks for one of the following
> methods on the object: "name", "label", "title", "to_s".
>
> I would like to filter based on the attribute values of the model whose
> objects I'm listing.  Has anyone done that?
>
> Thanks,
> Wes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to