What if my condition is an instance method in the model? I wasn't able to do this, but I extend 'do_list' method to be able to receive a code block that modifies the it. Do you guys think that is a good idea?
I can release this as a plugin On Aug 18, 3:12 pm, geoklee <[email protected]> wrote: > Is there a way to hide or filter out rows based on a condition? > Specifically in my case I want to not list events that are now in the > past (and without having to delete the those records in the > database). Can ActiveScaffoldListFilters accomplish this? IAny other > way? Your guidance would be much appreciated! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
