Don't use t.integer for referencing related tables in Rails migrationsInstead, use:create_table :address do |t| t.references :person endPosted on Dec 20, 2014 to Ruby on Rails