From 8afe33b1475deb86714242769c2bc5db5e1ddc22 Mon Sep 17 00:00:00 2001 From: Mike Gunderloy Date: Fri, 24 Oct 2008 19:35:57 -0500 Subject: Fix a few more typos in 2.2 release notes. --- railties/doc/guides/html/2_2_release_notes.html | 598 +++++++++++------------ railties/doc/guides/source/2_2_release_notes.txt | 8 +- 2 files changed, 303 insertions(+), 303 deletions(-) (limited to 'railties/doc/guides') diff --git a/railties/doc/guides/html/2_2_release_notes.html b/railties/doc/guides/html/2_2_release_notes.html index 7e975d35a6..f3fd549863 100644 --- a/railties/doc/guides/html/2_2_release_notes.html +++ b/railties/doc/guides/html/2_2_release_notes.html @@ -1,293 +1,293 @@ - - - - - Ruby on Rails 2.2 Release Notes - - - - - - - - - -
- - - -
-

Ruby on Rails 2.2 Release Notes

+ + + + + Ruby on Rails 2.2 Release Notes + + + + + + + + + +
+ + + +
+

Ruby on Rails 2.2 Release Notes

Rails 2.2 delivers a number of new and improved features. This list covers the major upgrades, but doesn't include every little bug fix and change. If you want to see everything, check out the list of commits in the main Rails repository on GitHub.

@@ -893,23 +893,23 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
class Vendor << ActiveRecord::Base
+
class Vendor < ActiveRecord::Base
   has_one :account
   delegate :email, :password, :to => :account, :prefix => true
 end
 
-

This will produce delegated methods vendor.account_email and vendor.account_password. You can also specify a custom prefix:

+

This will produce delegated methods vendor#account_email and vendor#account_password. You can also specify a custom prefix:

-
class Vendor << ActiveRecord::Base
+
class Vendor < ActiveRecord::Base
   has_one :account
   delegate :email, :password, :to => :account, :prefix => :owner
 end
 
-

This will produce delegated methods vendor.owner_email and vendor.owner_password.

+

This will produce delegated methods vendor#owner_email and vendor#owner_password.

Lead Contributor: Daniel Schierbeck

9.4. Other Active Support Changes

    @@ -1124,8 +1124,8 @@ Durations of fractional months or fractional years are deprecated. Use Ruby's co

    Release notes compiled by Mike Gunderloy

    - -
-
- - + +
+
+ + diff --git a/railties/doc/guides/source/2_2_release_notes.txt b/railties/doc/guides/source/2_2_release_notes.txt index 8d627c9e63..272fb5ec33 100644 --- a/railties/doc/guides/source/2_2_release_notes.txt +++ b/railties/doc/guides/source/2_2_release_notes.txt @@ -323,23 +323,23 @@ If you delegate behavior from one class to another, you can now specify a prefix [source, ruby] ------------------------------------------------------- -class Vendor << ActiveRecord::Base +class Vendor < ActiveRecord::Base has_one :account delegate :email, :password, :to => :account, :prefix => true end ------------------------------------------------------- -This will produce delegated methods +vendor.account_email+ and +vendor.account_password+. You can also specify a custom prefix: +This will produce delegated methods +vendor#account_email+ and +vendor#account_password+. You can also specify a custom prefix: [source, ruby] ------------------------------------------------------- -class Vendor << ActiveRecord::Base +class Vendor < ActiveRecord::Base has_one :account delegate :email, :password, :to => :account, :prefix => :owner end ------------------------------------------------------- -This will produce delegated methods +vendor.owner_email+ and +vendor.owner_password+. +This will produce delegated methods +vendor#owner_email+ and +vendor#owner_password+. Lead Contributor: link:http://workingwithrails.com/person/5830-daniel-schierbeck[Daniel Schierbeck] -- cgit v1.2.3