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.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/models/liquid.rb b/activerecord/test/models/liquid.rb
new file mode 100644
index 0000000000..b2fd305d66
--- /dev/null
+++ b/activerecord/test/models/liquid.rb
@@ -0,0 +1,6 @@
+# frozen_string_literal: true
+
+class Liquid < ActiveRecord::Base
+ self.table_name = :liquid
+ has_many :molecules, -> { distinct }
+end