diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2013-11-02 15:40:39 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2013-11-02 15:40:39 -0700 |
commit | 6d30219c2734f2678d74a54b791a311748b3e64f (patch) | |
tree | b9da7bebd2e3c375afab44791fd4205254f13b50 /activerecord/test/models/book.rb | |
parent | 423249504a2b468d7a273cbe6accf4f21cb0e643 (diff) | |
parent | a2f27385f60292c77e5e29a9568f1888a7c3d214 (diff) | |
download | rails-6d30219c2734f2678d74a54b791a311748b3e64f.tar.gz rails-6d30219c2734f2678d74a54b791a311748b3e64f.tar.bz2 rails-6d30219c2734f2678d74a54b791a311748b3e64f.zip |
Merge branch 'master' of github.com:rails/rails
Diffstat (limited to 'activerecord/test/models/book.rb')
-rw-r--r-- | activerecord/test/models/book.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/models/book.rb b/activerecord/test/models/book.rb index 997c088176..a527e41a8a 100644 --- a/activerecord/test/models/book.rb +++ b/activerecord/test/models/book.rb @@ -6,6 +6,6 @@ class Book < ActiveRecord::Base has_many :subscriptions has_many :subscribers, through: :subscriptions - - enum status: %i( proposed written published ) + + enum status: [:proposed, :written, :published] end |