On Nov 9, 7:46 am, Nike Mike
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Hi i am using nested resources in my application like this
>
> map.resources :forums do |forum|
> forum.resources :topics do |topic|
> topic.resources :posts
> end
> end
>
> while i am submitting a from with url like
thishttp://localhost:3000/forums/1/topics/new
>
> i am facing the problem
>
> "Only get, put, and delete requests are allowed."
>
> Please help me
map.resources will map http://localhost:3000/forums/1/topics/new to a
GET request. Your form should be posting to
http://localhost:3000/forums/1/topics/.
Jeff
purpleworkshops.com