i have a simple conflict about trying to pass control from one
controller to another, but remembering which controller called it.
ok, i have users. each user has_one :pref (prefs is stuff like phone,
each user also has_many :accounts
so accounts and prefs belong_to :user
what i am trying to do is test if a prefs row has been created for the
user, if not, there needs to be a notification to create this row for
the user. I got that, and when i have the link_to go to the
pref_controller.rb, it works and the form from the scaffold loads ( i
point it to the new action )
when i hit submit though, it tells me that it cannot find the user
i guess my question is, how do i pass the user info to the pref
controller so that it knows to add the prefs record with the right
same with the accounts.