class ActiveRecord::Associations::JoinDependency
Public Instance Methods
build(associations, parent = nil, join_type = Arel::Nodes::InnerJoin)
click to toggle source
# File lib/left_joins.rb, line 88 def build(associations, parent = nil, join_type = Arel::Nodes::InnerJoin) join_type = Thread.current.thread_variable_get(:left_joins_join_type) || join_type return build_without_hooking_join_type(associations, parent, join_type) end
make_constraints(*args, join_type)
click to toggle source
# File lib/left_joins.rb, line 82 def make_constraints(*args, join_type) join_type = Thread.current.thread_variable_get(:left_joins_join_type) || join_type return make_constraints_without_hooking_join_type(*args, join_type) end