I’m creating an RoR application right now and i’ve got the following
An user has one presentation.
So i’ve got an user table and in that table is an field
fkPresentationID. Now i want to create an new user and at the same
moment an new presentation for that user. I thought it would work with
something like this, but it didn’t work.
@user = User.new(params[:user])
flash[:notice] = ‘OK.’
redirect_to :action => ‘list’
render :action => new
Can anyone tell me what i’m doing wrong?
Thanks in advance