Thanks, Sergio.
No, I had not done that.  But my routes.rb file just has (comments
trimmed):

ActionController::Routing::Routes.draw do |map|
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
  end

The model name here is "node".
If I add a line so it looks like this:

ActionController::Routing::Routes.draw do |map|
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
  map.resources :nodes, :active_scaffold => true  #ADDED THIS
  end

Then, just like before, when I click Search, I get "No action
responded to update_table."

I read the page on rails and restful routes, 
http://guides.rubyonrails.org/routing.html.
Didn't find it helpful.

Can you give me another hint please?
Thanks.

On Feb 2, 11:18 am, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> 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 => trueto 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