Module: ActiveRecord::Transactions

Defined in:
lib/active_model_cachers/patches/patch_rails_3.rb

Instance Method Summary collapse

Instance Method Details

#transaction_include_any_action?(fire_on) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/active_model_cachers/patches/patch_rails_3.rb', line 16

def transaction_include_any_action?(fire_on)
  fire_on.any?{|s| transaction_include_action?(s) }
end