diff options
author | Matthew Draper <matthew@trebex.net> | 2017-07-02 01:08:37 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2017-07-02 01:11:50 +0930 |
commit | 3420a14590c0e6915d8b6c242887f74adb4120f9 (patch) | |
tree | 7ae54681e3e2b18555603c39c50b01f3707ef9a7 /activerecord/test/migrations/magic/1_currencies_have_symbols.rb | |
parent | afb66a5a598ce4ac74ad84b125a5abf046dcf5aa (diff) | |
parent | cfade1ec7ee7b5b51f3c1578e3474f9c156f2971 (diff) | |
download | rails-3420a14590c0e6915d8b6c242887f74adb4120f9.tar.gz rails-3420a14590c0e6915d8b6c242887f74adb4120f9.tar.bz2 rails-3420a14590c0e6915d8b6c242887f74adb4120f9.zip |
Merge pull request #29540 from kirs/rubocop-frozen-string
Enforce frozen string in Rubocop
Diffstat (limited to 'activerecord/test/migrations/magic/1_currencies_have_symbols.rb')
-rw-r--r-- | activerecord/test/migrations/magic/1_currencies_have_symbols.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/activerecord/test/migrations/magic/1_currencies_have_symbols.rb b/activerecord/test/migrations/magic/1_currencies_have_symbols.rb index d4b0e6cd95..d8a864b213 100644 --- a/activerecord/test/migrations/magic/1_currencies_have_symbols.rb +++ b/activerecord/test/migrations/magic/1_currencies_have_symbols.rb @@ -1,9 +1,10 @@ +# frozen_string_literal: true # coding: ISO-8859-15 class CurrenciesHaveSymbols < ActiveRecord::Migration::Current def self.up - # We use € for default currency symbol - add_column "currencies", "symbol", :string, default: "€" + # We use ⬠for default currency symbol + add_column "currencies", "symbol", :string, default: "â¬" end def self.down |