class ActiveRecord::HashOptions::Enumerable::NotChain
Public Class Methods
new(collection)
click to toggle source
# File lib/active_record/hash_options/enumerable.rb, line 16 def initialize(collection) @collection = collection end
Public Instance Methods
not(conditions = {})
click to toggle source
# File lib/active_record/hash_options/enumerable.rb, line 20 def not(conditions = {}) ActiveRecord::HashOptions.filter(@collection, conditions, true) end