aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* tests, use `if_exists: true` instead of `rescue nil`.Yves Senn2015-09-221-1/+1
|
* Bring original puts back after finishing testsAkira Matsuda2014-08-291-4/+0
|
* Change the default `null` value for timestampsSean Griffin2014-08-121-1/+1
| | | | | | | As per discussion, this changes the model generators to specify `null: false` for timestamp columns. A warning is now emitted if `timestamps` is called without a `null` option specified, so we can safely change the behavior when no option is specified in Rails 5.
* Initialize accessors to remove some warnings in Ruby 2.0Carlos Antonio da Silva2012-11-191-4/+2
|
* Add references schema statementsAleksey Magusev2012-07-031-1/+1
| | | | | | | | | | Examples: add_reference :products, :supplier, polymorphic: true, index: true remove_reference :products, :user `add_belongs_to` and `remove_belongs_to` are acceptable.
* Refactor migration test_helperAleksey Magusev2012-07-011-23/+4
| | | | and create_join_table_test
* silencing migrator tests, refactoring the migration test helperAaron Patterson2012-01-161-0/+9
|
* adding a test class for table renamingAaron Patterson2012-01-131-0/+6
|
* moving more renaming tests to the proper test caseAaron Patterson2012-01-131-0/+8
|
* moving rename column tests to their own classAaron Patterson2012-01-131-0/+41