Flowdock
method

build_sti_condition

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::HasManyThroughAssociation
build_sti_condition() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.