search for: apple_id

Displaying 3 results from an estimated 3 matches for "apple_id".

Did you mean: apple_bl
2005 Dec 17
4
Rake migrate and creating join tables
...eys to other tables, and where the primary key is all the foreign keys taken together). I made the changes manually in MySQL, then did rake db_schema_dump and it gave something like this: create_table "apples_oranges", :id => false, :force => true do |t| t.column "apple_id", :integer, :limit => 10, :null => false t.column "orange_id", :integer, :limit => 10, :default => 0, :null => false end The problem is that when you run this code, there''s no primary key generated on the table. I''ve looked through the so...
2006 Apr 18
1
N:M:K Relationships
Hello there, I was wondering whether rails 1.1.1 supports N:M:K relationships that is having a pivot table with three columns which are primary keys: say, (apple_id, orange_id, lemon_id) It would be so great if Rails could be able to have id-s which as n-tuples. Thanks, Roland -- Posted via http://www.ruby-forum.com/.
2006 Feb 23
11
Sessions question
Hi, I''m a little confused about sessions. I have two objects, object "Apple" and object "Banana". These two objects have an N:M relationship. What I am doing is listing All of the Banana objects that are associated with a single Apple, then below that listing all of the Banana objects not associated with that same Apple. The user is then allowed to change the