Displaying 1 result from an estimated 1 matches for "issued_keys".
Did you mean:
  issued_key
  
2005 Dec 23
0
Problem with large join table and ActiveRecord
Hello,
   I''m having a hard time explaining this, so I hope i can say this 
correctly. I have these tables:
   people
     id
     fname
     lname
   departments
     id
     name
    buildings
    id
    name
    room
    wtkeys
    id
    key_number
    key_way
   Issued_keys
     id
     people_id
     department_id
     building_id
     wtkey_id
     date_issued
    My question is when i need to insert a new issued_key do I just do 
something like:
    person = Person.new
    person.fname = "Robert"
    person.lname = "Boone"
    person.save!...