1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/models/mongoid/simple_mongoid.rb
2013-11-30 21:30:07 +01:00

11 lines
171 B
Ruby

class SimpleMongoid
include Mongoid::Document
include AASM
field :status, type: String
aasm column: :status do
state :unknown_scope
state :new
end
end