aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-1/+1
|
* 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