Method: ArelExtensions::StringFunctions#&

Defined in:
lib/arel_extensions/string_functions.rb

#&(other) ⇒ Object

*FindInSet function .……



23
24
25
26
27
28
# File 'lib/arel_extensions/string_functions.rb', line 23

def &(other)
  ArelExtensions::Nodes::FindInSet.new [
    Arel.quoted(other.is_a?(Integer) ? other.to_s : other),
    self,
  ]
end