Class: Bean::Transfer

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/bean/transfer.rb

Instance Method Summary collapse

Instance Method Details

#before_validation_with_normalizingObject



26
27
28
29
30
31
# File 'lib/bean/transfer.rb', line 26

def before_validation_with_normalizing
  self[:debit].downcase!
  self[:credit].downcase!
  self[:currency].upcase!
  before_validation_without_normalizing
end