On Miércoles, 2 de Febrero de 2011 16:39:26 Lindsay Morris escribió:
> Rails 2.3.5
> AS 1.2RC1
> 
> I installed advanced_search, got it to show an "Advanced Search link
> on my form. Excellent!
> 
> But when I click the Search button, I get:
> 
>   Unknown action
>   No action responded to update_table. Actions:
> attributes_hash_is_empty?, ... (etc)
> 
> Hmm, I think. Needs an :update_table action?
> So I tried changing this line in application_controller.rb from
>       config.actions = [:list, :advanced_search, :nested, :subform]
> to
>       config.actions =
> [:list, :advanced_search, :update_table, :nested, :subform]
> 
> But then the page would not load, complaining
>     undefined method `update_table' for #<ActiveScaffold::Config::Core:
> 0x1041b3e88>

update_table is an action (method) defined in list module, so you don't need to 
add update_table to config.actions.

Probably it's a routing problem, have you added :active_scaffold => true to the 
map.resources line?

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
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