jasonlhy
2012-Sep-03 11:44 UTC
Cannot create assoication between new objects for nested model form in rails
I am watching on railscasts<http://railscasts.com/episodes/196-nested-model-form-part-1?view=asciicast> and tried to write the example with my own hands. But I got an trouble with the step of: Creating The Form. It requires creating association between Survey and Question. But this association cannot be established in my rails application so no questions appear in the form For more details, please see my post on the stackoverflow<http://stackoverflow.com/questions/12247025/cannot-create-assoication-between-new-objects-for-nested-model-form-in-rails> -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/nJudihNe7zcJ. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2012-Sep-04 12:11 UTC
Re: Cannot create assoication between new objects for nested model form in rails
On 3 September 2012 12:44, jasonlhy <jasonlhy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am watching on railscasts and tried to write the example with my own > hands. But I got an trouble with the step of: Creating The Form. > > It requires creating association between Survey and Question. But this > association cannot be established in my rails application so no questions > appear in the form > > For more details, please see my post on the stackoverflowIf you want answers here it is generally best to ask the question here. Most will not be bothered with following the stackoverflow link. As a general point it is considered bad practice to cross post to multiple places at the same time. Ask on one and if the problem is not solved then ask somewhere else, but not both at the same time. For all we know your question has already been solved somewhere else that you have asked and we are wasting our time. Colin> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/nJudihNe7zcJ. > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.