I try to switch my application from Rails 2.2.2 to Rails 2.3.3. In namespace :admin I have a resource-based controller. See controller class Admin::OSystemsController < Admin::BaseController def index ....... end
def edit ......... end def update .......... end end Resource is added to routes.rb like map.namespace :admin do |admin| ............ admin.resources :o_systems, :only => [:index, :edit, :update] ............ end I go to edit page (see view) ......... <% form_for([:admin, @o_system]) do |f| %> <%= f.error_messages %> ............. <% end %> I press submit and exception is thrown: [b]ActionController::UnknownAction (No action responded to 22. Actions: edit, index, and update):[/b]. Here "22" is the id of the object. Everything works properly in development, error is only in production environment and only ONE time. If I submit form second time then everything goes well. Please, help. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---