On Fri, 22 May 2009 08:29:56 -0700 (PDT), JannaB
<[email protected]>
wrote:
> I don't know if this is related to the "search broken" thread going on
> here or not. I have a peculiar thing going on which I am unable to
> track down.
> 
> I  have a mode, "Associate," and a misnamed controller,
> "AssociateController" I had everything working fine with AS as that
> was.
> 
> I then have gone in and renamed my controller in the appropriate
> plural AssociatesController, as well as its filename, and any
> references to it.
> 
> now, if I hit, say http://127.0.0.1:3000/associates/list, I get a no
> such method error, and my logs show:
> 
> Processing AssociatesController#show (for 127.0.0.1 at 2009-05-22
> 11:23:29) [GET]
>   Parameters: {"action"=>"show", "id"=>"list",
> "controller"=>"associates"}
> 
> ActionController::UnknownAction (No action responded to show. Actions:
> add_existing, attributes_hash_is_empty?, create, delete, destroy,
> destroy_existing, do_destroy, edit, edit_associated,
> find_or_create_for_params, index, list, nested, new, new_existing,
> render_field, row, show_search, table, update, update_column,
> update_record_from_params, and update_table):

Look at your routes, do you have map.resources :associates,
:active_scaffold => true?

> 
> However, if I hit http://127.0.0.1:3000/associates/ which invokes
> index, it comes up ok. BUT, if I click on "Search" (I am using Live
> Search) I get a similar error:
> 
> Processing AssociatesController#show (for 127.0.0.1 at 2009-05-22
> 11:23:38) [GET]
>   Parameters: {"action"=>"show", "_method"=>"get",
> "adapter"=>"_list_inline_adapter", "id"=>"show_search",
> "controller"=>"associates"}
> 
> ActionController::UnknownAction (No action responded to show. Actions:
> add_existing, attributes_hash_is_empty?, create, delete, destroy,
> destroy_existing, do_destroy, edit, edit_associated,
> find_or_create_for_params, index, list, nested, new, new_existing,
> render_field, row, show_search, table, update, update_column,
> update_record_from_params, and update_table):
> 
> 
> Any idea what I may have changed here to cause AS to be inadvertently
> broken? Thanks JannaB
> 

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