class ActiveRecord::Associations::ClassMethods::JoinDependency
Public Instance Methods
instantiate_with_selectable_includes(rows)
click to toggle source
# File lib/fake_arel/selectable_includes.rb, line 19 def instantiate_with_selectable_includes(rows) unless rows.empty? keys_from_select = rows.first.keys.reject {|k| k =~ /\At\d+_r\d+/} join_base.extra_columns = keys_from_select end instantiate_without_selectable_includes(rows) end