module ArelExtensions::Attributes

Public Instance Methods

!=(other) click to toggle source
# File lib/arel_extensions/attributes.rb, line 23
def !=(other)
  Arel::Nodes::NotEqual.new self, Arel::Nodes.build_quoted(other, self)
end
==(other) click to toggle source
# File lib/arel_extensions/attributes.rb, line 19
def ==(other)
  Arel::Nodes::Equality.new self, Arel::Nodes.build_quoted(other, self)
end