Sorry about that. I forgot to include it. Yes, I have this line:

config.actions.add :list_filter


On May 3, 11:20 am, Kerry <[email protected]> wrote:
> Do you have these lines (from the README).
>
> * Add to your application.rb default action list or to an individual
> controller: app/controllers/application.rb
>
>   class ApplicationController < ActionController::Base
>     ActiveScaffold.set_defaults do |config|
>       config.actions.add :list_filter
>     end
>   end
>
> or an individual controller
>
>   active_scaffold "Model" do |config|
>     config.actions.add :list_filter
>   end
>
> Regards,
> Kerry.
>
> On May 3, 8:55 am, LarryTX <[email protected]> wrote:
>
>
>
> > I'm getting a Runtime Error when I attempt to use List_Filters in
> > Rails 2.2.2. I have a HABTM association between :movies
> > and :movie_genres. My :movies controller has the following lines
> > (among others):
>
> > config.list_filter.columns = [:movie_genres]
> > config.list_filter.add(:association, :movie_genres, {:label =>
> > "Genres"})
>
> > When I try to display the page, I get the following error message:
>
> > ListFilter is not enabled. Please enable it or remove any references
> > in your configuration (e.g. config.list_filter.columns = [...]).
>
> > I've tried adding the following line (in between the two lines above:
>
> > config.list_filter.columns = [:movie_genres]
>
> > I get the same error message. Any ideas on what I might be doing wrong
> > or what I could do to make it work?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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