module ExMachina::Adapter::ActiveRecord

Public Instance Methods

persist(model) click to toggle source
# File lib/ex_machina/adapter/active_record.rb, line 8
def persist(model)
  model.save
end
within_transaction(&block) click to toggle source
# File lib/ex_machina/adapter/active_record.rb, line 4
def within_transaction(&block)
  raise NotImplementedError, "not supported yet"
end