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

still supporting Ruby 1.8.7

This commit is contained in:
Thorsten Böttger 2013-12-01 00:23:34 +01:00
parent a7842dc289
commit 08d0511c90
4 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ class NoScopeMongoid
include Mongoid::Document
include AASM
field :status, type: String
field :status, :type => String
aasm :create_scopes => false, :column => :status do
state :ignored_scope

View file

@ -2,7 +2,7 @@ class SimpleMongoid
include Mongoid::Document
include AASM
field :status, type: String
field :status, :type => String
aasm column: :status do
state :unknown_scope

View file

@ -2,7 +2,7 @@ class SimpleNewDslMongoid
include Mongoid::Document
include AASM
field :status, type: String
field :status, :type => String
aasm :column => :status
aasm do

View file

@ -11,7 +11,7 @@ class LocalizerTestModel < ActiveRecord::Base
attr_accessor :aasm_state
aasm do
state :opened, initial: true
state :opened, :initial => true
state :closed
event :close
event :open