search for: issuedkey

Displaying 1 result from an estimated 1 matches for "issuedkey".

Did you mean: issued_key
2005 Dec 23
0
Problem with large join table and ActiveRecord
...ve! dept = Department.new dept.name = "IT" dept.save! building = Building.new building.name = "CC" building.save! wtkey = Wtkey.new wtkey.key_number = "1234" wtkey.key_way = "AAAA" wtkey.save! issued_key = IssuedKey.new issued_key.people_id = person.id issued_key.department_id = dept.id issued_key.building_id = building.id issued_key.wtkey_id = wtkey.id issued_key.date_issued = Time.now issued_key.save! This seems very un-rails-like to me (but I could...