aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/to_copy
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/to_copy
parent5fe2a4f929fff7fa725545c47ac0f9372d8c643d (diff)
downloadrails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.gz
rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.bz2
rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.zip
Enforce frozen string in Rubocop
Diffstat (limited to 'activerecord/test/migrations/to_copy')
-rw-r--r--activerecord/test/migrations/to_copy/1_people_have_hobbies.rb1
-rw-r--r--activerecord/test/migrations/to_copy/2_people_have_descriptions.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/migrations/to_copy/1_people_have_hobbies.rb b/activerecord/test/migrations/to_copy/1_people_have_hobbies.rb
index 76734bcd7d..65b92fbb85 100644
--- a/activerecord/test/migrations/to_copy/1_people_have_hobbies.rb
+++ b/activerecord/test/migrations/to_copy/1_people_have_hobbies.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
class PeopleHaveHobbies < ActiveRecord::Migration::Current
def self.up
add_column "people", "hobbies", :text
diff --git a/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb b/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
index 7f883dbb45..7a3bede29a 100644
--- a/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
+++ b/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
class PeopleHaveDescriptions < ActiveRecord::Migration::Current
def self.up
add_column "people", "description", :text