aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-09-09 17:38:47 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-09-09 17:38:47 +0530
commitcb524dc1d7525a26ecea8cf049757e530f0d4026 (patch)
tree3a2d8727e97c67e37a357c1cf180e9ca17cff28b /guides/source/upgrading_ruby_on_rails.textile
parent6107407e66aa68cf269ec00b64d7ab3623465b97 (diff)
parent2db79dc9ea0b623c6d76b72e85f58efd63b50e08 (diff)
downloadrails-cb524dc1d7525a26ecea8cf049757e530f0d4026.tar.gz
rails-cb524dc1d7525a26ecea8cf049757e530f0d4026.tar.bz2
rails-cb524dc1d7525a26ecea8cf049757e530f0d4026.zip
Merge branch 'master' of github.com:lifo/docrails
Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
Diffstat (limited to 'guides/source/upgrading_ruby_on_rails.textile')
-rw-r--r--guides/source/upgrading_ruby_on_rails.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.textile b/guides/source/upgrading_ruby_on_rails.textile
index 70d4dabfe2..b750cc2ffb 100644
--- a/guides/source/upgrading_ruby_on_rails.textile
+++ b/guides/source/upgrading_ruby_on_rails.textile
@@ -44,7 +44,7 @@ The <tt>delete</tt> method in collection associations can now receive <tt>Fixnum
Rails 4.0 has changed how orders get stacked in +ActiveRecord::Relation+. In previous versions of rails new order was applied after previous defined order. But this is no long true. Check "ActiveRecord Query guide":active_record_querying.html#ordering for more information.
-Rails 4.0 has changed <tt>serialized_attributes</tt> and <tt>_attr_readonly</tt> to class methods only. Now you shouldn't use instance methods, it's deprecated. You must change them, e.g. <tt>self.serialized_attributes</tt> to <tt>self.class.serialized_attributes</tt>.
+Rails 4.0 has changed <tt>serialized_attributes</tt> and <tt>&#95;attr_readonly</tt> to class methods only. Now you shouldn't use instance methods, it's deprecated. You must change them, e.g. <tt>self.serialized_attributes</tt> to <tt>self.class.serialized_attributes</tt>.
h4(#active_model4_0). Active Model