1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/models/nobrainer/no_scope_no_brainer.rb

22 lines
382 B
Ruby
Raw Permalink Normal View History

class NoScopeNoBrainer
include NoBrainer::Document
include AASM
field :status, type: String
aasm create_scopes: false, column: :status do
state :ignored_scope
end
end
class NoScopeNoBrainerMultiple
include NoBrainer::Document
include AASM
field :status, type: String
aasm :left, create_scopes: false, column: :status do
state :ignored_scope
end
end