aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/4_0_release_notes.textile
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-26 01:19:44 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-26 01:19:44 -0300
commitdf1d21a554af57c76866c7950f4dfcef0986c172 (patch)
treece404099edc4729d53d5a14595e1c3edc1060ab8 /guides/source/4_0_release_notes.textile
parente6e5898b5abeeecce2ce4fdf789e91e2234b8526 (diff)
downloadrails-df1d21a554af57c76866c7950f4dfcef0986c172.tar.gz
rails-df1d21a554af57c76866c7950f4dfcef0986c172.tar.bz2
rails-df1d21a554af57c76866c7950f4dfcef0986c172.zip
Remove some entries from the 4.0 release notes
We need more :heart: in this file. There are a lot of outdated entries.
Diffstat (limited to 'guides/source/4_0_release_notes.textile')
-rw-r--r--guides/source/4_0_release_notes.textile25
1 files changed, 0 insertions, 25 deletions
diff --git a/guides/source/4_0_release_notes.textile b/guides/source/4_0_release_notes.textile
index df932603f7..0e03779e0d 100644
--- a/guides/source/4_0_release_notes.textile
+++ b/guides/source/4_0_release_notes.textile
@@ -479,35 +479,10 @@ end
User.stored_attributes[:settings] # [:color, :homepage]
</ruby>
-* <tt>composed_of</tt> was removed. You'll have to write your own accessor and mutator methods if you'd like to use value objects to represent some portion of your models. So, instead of:
-
-<ruby>
-class Person < ActiveRecord::Base
- composed_of :address, :mapping => [ %w(address_street street), %w(address_city city) ]
-end
-</ruby>
-
-you could write something like this:
-
-<ruby>
-def address
- @address ||= Address.new(address_street, address_city)
-end
-
-def address=(address)
- self[:address_street] = @address.street
- self[:address_city] = @address.city
-
- @address = address
-end
-</ruby>
-
* PostgreSQL default log level is now 'warning', to bypass the noisy notice messages. You can change the log level using the <tt>min_messages</tt> option available in your <tt>config/database.yml</tt>.
* Add uuid datatype support to PostgreSQL adapter.
-* <tt>update_attribute</tt> has been removed. Use <tt>update_column</tt> if you want to bypass mass-assignment protection, validations, callbacks, and touching of updated_at. Otherwise please use <tt>update_attributes</tt>.
-
* Added <tt>ActiveRecord::Migration.check_pending!</tt> that raises an error if migrations are pending.
* Added <tt>#destroy!</tt> which acts like <tt>#destroy</tt> but will raise an <tt>ActiveRecord::RecordNotDestroyed</tt> exception instead of returning <tt>false</tt>.