aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/magic/1_currencies_have_symbols.rb
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2017-06-22 22:59:18 -0400
committerKir Shatrov <shatrov@me.com>2017-07-01 02:11:03 +0300
commitcfade1ec7ee7b5b51f3c1578e3474f9c156f2971 (patch)
tree5c12d112bf4d039587d712b0cae92a2d920fee23 /activerecord/test/migrations/magic/1_currencies_have_symbols.rb
parent5fe2a4f929fff7fa725545c47ac0f9372d8c643d (diff)
downloadrails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.gz
rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.bz2
rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.zip
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.rb5
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