tuti plain wrote: > C:/jruby/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/rack/adapter/rails.rb:133:in > `call' > C:/jruby/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/rack/handler/grizzly.rb:55:in > `call' > > I then tried setting up my routing like this: > > map.resources :receta > > And it worked. Can someone please clarify why with :recetas it didn't > work? What difference does it make to declare a resource with an "s" at > the end. Any info will be greatly appreciated. Thanks in advance. > > > Note: I removed the default routes for both attempts.
Try this: map.resources :recetas, :controller => "receta" -- 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-t...@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.