aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-02 18:08:36 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-02 18:08:37 -0200
commit6963e8959f67029903e305d29c2856a481418065 (patch)
tree11d2353bdb21f2592881a4f70c79c227a24d75e5 /activerecord/test/models
parente3e7786b0fde0c7807608e4d51c63e97a2a59550 (diff)
downloadrails-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.rb4
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