aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/references_statements_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #16231 from Envek/type_in_referencesYves Senn2014-07-221-0/+5
|\ | | | | | | | | | | * Allow to specify a type for foreign key column in migrations * unified the docs * some cleanup in CHANGELOG
| * Allow to specify a type for foreign key column in migrationsAndrey Novikov2014-07-221-0/+10
|/ | | | [Andrey Novikov & Łukasz Sarnacki]
* Alias refute methods to assert_not and perfer assert_not on testsRafael Mendonça França2012-12-311-8/+8
|
* Check if the options value is present before to send the deprecationRafael Mendonça França2012-11-031-2/+2
| | | | message
* Add references schema statementsAleksey Magusev2012-07-031-0/+111
Examples: add_reference :products, :supplier, polymorphic: true, index: true remove_reference :products, :user `add_belongs_to` and `remove_belongs_to` are acceptable.