search for: apples_oranges

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

2005 Dec 17
4
Rake migrate and creating join tables
...grations to generate join tables (where the table columns comprise only of foreign keys 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'...