1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/migration
noam b64fb3020b Failure to rollback t.timestamps when within a change_table migration
When running the following migration:

    change_table(:table_name) { |t| t/timestamps }

The following error was produced:

    wrong number of arguments (2 for 1) .... /connection_adapters/abstract/schema_statements.rb:851:in `remove_timestamps'

This is due to `arguments` containing an empty hash as its second
argument.
2014-12-03 11:35:40 -05:00
..
change_schema_test.rb add table.bigint support 2014-10-15 17:32:10 -07:00
change_table_test.rb Failure to rollback t.timestamps when within a change_table migration 2014-12-03 11:35:40 -05:00
column_attributes_test.rb
column_positioning_test.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
columns_test.rb Be sure to reset PK name renamed in the test 2014-08-15 01:29:42 +09:00
command_recorder_test.rb Failure to rollback t.timestamps when within a change_table migration 2014-12-03 11:35:40 -05:00
create_join_table_test.rb
foreign_key_test.rb Support symbol foreign key to delete 2014-11-19 10:17:44 +09:00
helper.rb Bring original puts back after finishing tests 2014-08-29 10:34:26 +09:00
index_test.rb raise a better exception for renaming long indexes 2014-11-20 17:37:54 -08:00
logger_test.rb
pending_migrations_test.rb rename MiniTest to Minitest 2014-08-02 21:30:28 +05:30
references_index_test.rb Use type column first in multi-column indexes 2014-10-24 16:34:30 -04:00
references_statements_test.rb Use type column first in multi-column indexes 2014-10-24 16:34:30 -04:00
rename_table_test.rb Added enable_extension! to helper 2014-09-05 21:20:17 +00:00
table_and_index_test.rb