Module: AASM::Persistence::Base::ClassMethods

Defined in:
lib/aasm/persistence/base.rb

Instance Method Summary collapse

Instance Method Details

#aasm_column(attribute_name = nil) ⇒ Object


49
50
51
52
# File 'lib/aasm/persistence/base.rb', line 49

def aasm_column(attribute_name=nil)
  warn "[DEPRECATION] aasm_column is deprecated. Use aasm.attribute_name instead"
  aasm.attribute_name(attribute_name)
end