aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/liquid.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/liquid.rb')
-rw-r--r--activerecord/test/models/liquid.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/liquid.rb b/activerecord/test/models/liquid.rb
index 3fcd5e4b69..6cfd443e75 100644
--- a/activerecord/test/models/liquid.rb
+++ b/activerecord/test/models/liquid.rb
@@ -1,5 +1,5 @@
class Liquid < ActiveRecord::Base
self.table_name = :liquid
- has_many :molecules, :uniq => true
+ has_many :molecules, -> { uniq }
end