Class: PluckMap::AssociationScope::Rails42

Inherits:
Current
  • Object
show all
Defined in:
lib/pluck_map/association_scope.rb

Instance Method Summary collapse

Methods inherited from Current

#apply_scope, #scope

Instance Method Details

#bind(_, _, _, value, _) ⇒ Object



93
94
95
96
97
98
99
# File 'lib/pluck_map/association_scope.rb', line 93

def bind(_, _, _, value, _)
  if value.is_a?(Arel::Attributes::Attribute)
    value
  else
    super
  end
end