Class: Spree::LogEntry

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/spree/log_entry.rb

Instance Method Summary collapse

Instance Method Details

#save_anywayObject


9
10
11
12
13
14
# File 'app/models/spree/log_entry.rb', line 9

def save_anyway
  log = Spree::LogEntry.new
  log.source  = source
  log.details = details
  log.save!
end