Skip to content

Commit

Permalink
Adding extra points from crowd sourcing
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel committed Feb 1, 2010
1 parent 1bc2bb1 commit cc2fa4d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions railties/guides/source/3_0_release_notes.textile
Expand Up @@ -264,6 +264,9 @@ Produces:
* Form label helper now pulls values from I18n with a single value, so <tt>f.label :name</tt> will pull the <tt>:name</tt> 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

Expand Down Expand Up @@ -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 <tt>:destroyed?</tt> to Active Record objects.
* Added <tt>:inverse_of</tt> 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:
Expand All @@ -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:

Expand All @@ -370,6 +379,8 @@ As well as the following deprecations:
* validates_presence_of => validates... :presence => true
* <tt>ActiveRecord::Base.colorize_logging</tt> and <tt>config.active_record.colorize_logging</tt> are deprecated in favour of <tt>Rails::Subscriber.colorize_logging</tt> or <tt>config.colorize_logging</tt>

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.
Expand Down

0 comments on commit cc2fa4d

Please sign in to comment.