I have modified a basic function for creating a new record.
@contact = Contact.new(params[:contact])
@contact.user_id = current_user.id
I also have another table that holds records as to which users can
access which contacts. Essentially, it creates a row that has the
user_id and contact_id.
Since the id for the contact is automatically assigned as a primary key,
is there any way I can access it directly after the contact is saved -
or do I have to do a find to try to track down the record that was just