From cc2fa4d713bc2a1a66b43a1faee1af8b4826ae93 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Tue, 2 Feb 2010 10:09:10 +1100 Subject: Adding extra points from crowd sourcing --- railties/guides/source/3_0_release_notes.textile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'railties/guides') diff --git a/railties/guides/source/3_0_release_notes.textile b/railties/guides/source/3_0_release_notes.textile index afc88af643..b519a9c524 100644 --- a/railties/guides/source/3_0_release_notes.textile +++ b/railties/guides/source/3_0_release_notes.textile @@ -264,6 +264,9 @@ Produces: * Form label helper now pulls values from I18n with a single value, so f.label :name will pull the :name translation. * I18n select label on should now be :en.helpers.select instead of :en.support.select. * You no longer need to place a minus sign at the end of a ruby interpolation inside an ERb template to remove the trailing carriage return in the HTML output. +* Added +grouped_collection_select+ helper to Action View. +* Action View now will raise exceptions if CSS stylesheets and javascript files listed in the +javascript_include_tag+ and +stylesheet_include_tag+ helpers are missing. +* +content_for?+ has been added allowing you to check for the existence of content in a view before rendering. h3. Active Model @@ -350,6 +353,11 @@ More Information: * "Active Record Query Interface":http://m.onkey.org/2010/1/22/active-record-query-interface * "Let your SQL Growl in Rails 3":http://hasmanyquestions.wordpress.com/2010/01/17/let-your-sql-growl-in-rails-3/ +h4. Enhancements + +* Added :destroyed? to Active Record objects. +* Added :inverse_of to Active Record associations allowing you to pull the instance of an already loaded association without hitting the database. + h4. Patches and Deprecations Additionally, many fixes in the Active Record branch: @@ -359,6 +367,7 @@ Additionally, many fixes in the Active Record branch: * PostgreSQL adapter has had it's +TIME ZONE+ support fixed so it no longer inserts incorrect values. * PostgreSQL support for the XML data type column. * +table_name+ is now cached. +* Large amount of work done on the Oracle adapter with many fixes. As well as the following deprecations: @@ -370,6 +379,8 @@ As well as the following deprecations: * validates_presence_of => validates... :presence => true * ActiveRecord::Base.colorize_logging and config.active_record.colorize_logging are deprecated in favour of Rails::Subscriber.colorize_logging or config.colorize_logging +NOTE: while an implementation of State Machine has been in Active Record edge for some months now, it has been removed from the Rails 3.0 release. + h3. Active Resource Active Resource was also extracted out to Active Model allowing you to use Active Resource objects with Action Pack seamlessly. -- cgit v1.2.3