Daniel Colson
94333a4c31
Use assert_predicate and assert_not_predicate
2018-01-25 23:32:59 -05:00
Koichi ITO
7c260ae201
Fix RuboCop offenses
...
And enable `context_dependent` of Style/BracesAroundHashParameters cop.
2017-08-16 17:55:25 +09:00
Pat Allan
acea68de02
Adding frozen_string_literal pragma to Railties.
2017-08-14 19:08:09 +02:00
Matthew Draper
87b3e226d6
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
...
This reverts commit 3420a14590
, reversing
changes made to afb66a5a59
.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e
Enforce frozen string in Rubocop
2017-07-01 02:11:03 +03:00
Ryuta Kamizono
b201474756
Should escape meta characters in regexp
2017-05-07 04:10:00 +09:00
Xavier Noria
411ccbdab2
remove redundant curlies from hash arguments
2016-08-06 19:44:11 +02:00
Xavier Noria
783763bde9
applies new string literal convention in railties/test
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:16:09 +02:00
Gert Goet
3858a247bd
Add CreateMigration action
...
This Thor-action isolates the logic whether to (over-)write migration and
what is shown to the user. It's modelled after Thor's CreateFile-action.
This solves the issue that removing a non-existing migration, tried to
remove the template-path (#13588 ).
Related issues: #12674
2014-01-28 00:01:19 +01:00