How do I create form_for for namespaced nested resources in Rails 3.1.3 and Mongoid?

Not sure if mongoid's needs are different, but AR uses an array for namespaced routes and form_for.

Not sure if mongoid's needs are different, but AR uses an array for namespaced routes and form_for: From: apidock.com/rails/ActionView/Helpers/For... For namespaced routes, like admin_post_url: ... I think you need: form_for :api1, Movie. New do Your code example shows that you may want: form_for :api1, @reldate. Movie do Without seeing the controller, I can't tell if @reldate.

Movie is a new movie, but I doubt it.

Thanks Matt. I tried the solutions suggested by you but it yet doesn't work. The post is updated with the Movies controller.

– ags9 Dec 15 at 17:01.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions