1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/liquid.rb
Neeraj Singh 009aa8825b Eager loading an association should not change the count of children
[#4971 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-02 17:12:59 +02:00

5 lines
101 B
Ruby

class Liquid < ActiveRecord::Base
set_table_name :liquid
has_many :molecules, :uniq => true
end