aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/magic
Commit message (Collapse)AuthorAgeFilesLines
* Fix `test_copying_migrations_preserving_magic_comments`Ryuta Kamizono2017-07-021-0/+1
| | | | | Since #29540, `# frozen_string_literal: true` included original migration files.
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-3/+2
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-2/+3
|
* modernizes hash syntax in activerecordXavier Noria2016-08-061-2/+2
|
* Internal test migrations use the private 'Current' versionMatthew Draper2015-12-151-1/+1
| | | | | | | | Apart from specific versioning support, our tests should focus on the behaviour of whatever version they're accompanying, regardless of when they were written. Application code should *not* do this.
* Preserve magic comments and content encoding of copied migrations.OZAWA Sakuro2013-03-091-0/+12
During insertion of "# This migration comes from ... " comment at the beginning of a migration, presence of magic comment was not considered.