Sha256: f01e188e4a7e3018a46e1eea889bc78f56b366808383df9b22c88753fee403b3

Contents?: true

Size: 190 Bytes

Versions: 20

Compression:

Stored size: 190 Bytes

Contents

class SimpleNewDslMongoid
  include Mongoid::Document
  include AASM

  field :status, :type => String

  aasm :column => :status
  aasm do
    state :unknown_scope
    state :new
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
aasm-4.0.8 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-4.0.7 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-4.0.6 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-4.0.5 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-4.0.4 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-4.0.3 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-4.0.2 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-4.0.1 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-4.0.0 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.4.0 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.3.3 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.3.2 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.3.1 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.3.0 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.2.1 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.2.0 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.1.1 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.1.0 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.0.26 spec/models/mongoid/simple_new_dsl_mongoid.rb
aasm-3.0.25 spec/models/mongoid/simple_new_dsl_mongoid.rb