search for: photo_name

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

Did you mean: phone_name
2006 Aug 30
1
Single Table Inheritance with self-referential join
...nal models, need to have additional user/server-information fields. I am thinking of implementing this as a "Single Table Inheritance" with self-referential join modeled like this: create_table :stereos, :force => true do |t| t.column :type, :string # common attributes t.column :photo_name, :string t.column :created_at, :datetime t.column :updated_at, :datetime t.column :order_id, :integer # attributes for type=Photo t.column :date_taken, :datetime t.column :pair_id, :integer # attributes for type=Preview t.column :authorized_by_id, :integer t.column :photo1_id, :integer t.colum...