Topic: Nested association, controller behaviour

Hi!

I have this setup:

http://pastie.org/5473503

So now I like to know how this workout goes. So when I want to create a new authentication I go to the new action on the authenticationscontroller.
When I make this new authentication (which is obviously an association of my usermodel) he is redirected to the update action of my user?!?! Why not to the create action of my authentication??


Greets

Re: Nested association, controller behaviour

Its because you are just passing the @user object to the form helper.  Check out: http://pastie.org/5491733

Re: Nested association, controller behaviour

Thank you! smile