diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-11-02 18:08:36 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-11-02 18:08:37 -0200 |
commit | 6963e8959f67029903e305d29c2856a481418065 (patch) | |
tree | 11d2353bdb21f2592881a4f70c79c227a24d75e5 /activerecord/test/models | |
parent | e3e7786b0fde0c7807608e4d51c63e97a2a59550 (diff) | |
download | rails-6963e8959f67029903e305d29c2856a481418065.tar.gz rails-6963e8959f67029903e305d29c2856a481418065.tar.bz2 rails-6963e8959f67029903e305d29c2856a481418065.zip |
Fix to work on Ruby 1.9.3, example and changelog improvements
Diffstat (limited to 'activerecord/test/models')
-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 |