Rails 3 - has_many through with nested form?

I think your issue is with the naming of your associations. Since your UserPlan model is CamelCased.

I think your issue is with the naming of your associations. Since your UserPlan model is CamelCased :user_plans accepts_nested_attributes_for :user_plans Plan: class Plan :user_plans View: With regards to the hidden_field_tag, what exactly are you trying to do? Perhaps you should open another question?

Hope this helps!

Thanks for the reply! I made the changes and got this error - UserPlan(#2184506360) expected, got Array(#2151973780) – Alex Jan 6 at 17:19 What's the stack trace? – hornairs Jan 6 at 21:53 I have added it to my question – Alex Jan 7 at 9:57.

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