Sha256: 5c79f67f95bf6f59111290353fb34ea0a5d6628cc24f44241b35534c6d44daa8

Contents?: true

Size: 414 Bytes

Versions: 14

Compression:

Stored size: 414 Bytes

Contents

class SimpleNoBrainer
  include NoBrainer::Document
  include AASM

  field :status, type: String

  aasm column: :status do
    state :unknown_scope, :another_unknown_scope
    state :new
  end
end

class SimpleNoBrainerMultiple
  include NoBrainer::Document
  include AASM

  field :status, type: String

  aasm :left, column: :status do
    state :unknown_scope, :another_unknown_scope
    state :new
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
aasm-5.3.1 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.3.0 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.2.0 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.1.1 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.1.0 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.8 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.7 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.6 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.5 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.4 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.3 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.2 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.1 spec/models/nobrainer/simple_no_brainer.rb
aasm-5.0.0 spec/models/nobrainer/simple_no_brainer.rb