Sha256: 04989dc3879a7ce13eb70b55eb2e5cf2e015ce3940a843f9a5b86f54bd274ead

Contents?: true

Size: 360 Bytes

Versions: 13

Compression:

Stored size: 360 Bytes

Contents

class SimpleMongoMapper
  include MongoMapper::Document
  include AASM

  key :status, String

  aasm column: :status do
    state :unknown_scope
    state :next
  end
end

class SimpleMongoMapperMultiple
  include MongoMapper::Document
  include AASM

  key :status, String

  aasm :left, column: :status do
    state :unknown_scope
    state :next
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
aasm-4.11.0 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.10.1 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.10.0 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.9.0 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.8.0 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.7.0 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.6.0 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.5.2 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.5.1 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.5.0 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.4.1 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.4.0 spec/models/mongo_mapper/simple_mongo_mapper.rb
aasm-4.3.0 spec/models/mongo_mapper/simple_mongo_mapper.rb