Displaying 1 result from an estimated 1 matches for "application_user".
2006 Apr 19
2
Beginner problem with foreign keys
Hi, I''ve been trying to get this to work all night. I''ve made some
progress by reading other posts, but I''m stuck now and can''t figure out
what I am doing wrong.
I have two tables: application_users and user_types. In my
application_users table I have a field named "user_type_id". At first,
I thought if I set up the foreign key with the correct names, it would
automatically appear in my "new" form, but I got past that issue.
My application_user model looks like this:...