aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/shop.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/shop.rb')
-rw-r--r--activerecord/test/models/shop.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/models/shop.rb b/activerecord/test/models/shop.rb
index 607a0a5b41..f9d23d13b0 100644
--- a/activerecord/test/models/shop.rb
+++ b/activerecord/test/models/shop.rb
@@ -1,10 +1,10 @@
module Shop
class Collection < ActiveRecord::Base
- has_many :products, :dependent => :nullify
+ has_many :products, dependent: :nullify
end
class Product < ActiveRecord::Base
- has_many :variants, :dependent => :delete_all
+ has_many :variants, dependent: :delete_all
belongs_to :type
class Type < ActiveRecord::Base