Module: NoBrainer::Criteria::Update

Extended by:
ActiveSupport::Concern
Defined in:
lib/no_brainer/criteria/update.rb

Instance Method Summary collapse

Instance Method Details

#replace_all(*a, &b) ⇒ Object



8
9
10
# File 'lib/no_brainer/criteria/update.rb', line 8

def replace_all(*a, &b)
  perform_update(:replace, a, b)
end

#update_all(*a, &b) ⇒ Object



4
5
6
# File 'lib/no_brainer/criteria/update.rb', line 4

def update_all(*a, &b)
  perform_update(:update, a, b)
end