method
build_sti_condition
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Associations::HasManyThroughAssociation
build_sti_condition()protected
No documentation available.
# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 239
def build_sti_condition
"#{@reflection.through_reflection.quoted_table_name}.#{@reflection.through_reflection.klass.inheritance_column} = #{@reflection.klass.quote_value(@reflection.through_reflection.klass.sti_name)}"
end