2013-08-06 16:55:32 +02:00
|
|
|
class NoScopeMongoid
|
|
|
|
include Mongoid::Document
|
|
|
|
include AASM
|
|
|
|
|
2013-12-01 00:23:34 +01:00
|
|
|
field :status, :type => String
|
2013-08-06 16:55:32 +02:00
|
|
|
|
|
|
|
aasm :create_scopes => false, :column => :status do
|
|
|
|
state :ignored_scope
|
|
|
|
end
|
|
|
|
end
|