From 00a805d41939b44a703848b21054224afde026dc Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sun, 14 Apr 2013 12:33:28 +0530 Subject: ARel -> Arel --- guides/source/3_2_release_notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/3_2_release_notes.md') diff --git a/guides/source/3_2_release_notes.md b/guides/source/3_2_release_notes.md index 68a47be14f..afa06e002c 100644 --- a/guides/source/3_2_release_notes.md +++ b/guides/source/3_2_release_notes.md @@ -101,7 +101,7 @@ Rails 3.2 comes with a development mode that's noticeably faster. Inspired by [A ### Automatic Query Explains -Rails 3.2 comes with a nice feature that explains queries generated by ARel by defining an `explain` method in `ActiveRecord::Relation`. For example, you can run something like `puts Person.active.limit(5).explain` and the query ARel produces is explained. This allows to check for the proper indexes and further optimizations. +Rails 3.2 comes with a nice feature that explains queries generated by Arel by defining an `explain` method in `ActiveRecord::Relation`. For example, you can run something like `puts Person.active.limit(5).explain` and the query Arel produces is explained. This allows to check for the proper indexes and further optimizations. Queries that take more than half a second to run are *automatically* explained in the development mode. This threshold, of course, can be changed. -- cgit v1.2.3 From ab819e5b10b121bd8b6eb2e04eb2c79c5b7f432a Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Fri, 19 Apr 2013 08:26:42 +0530 Subject: rubygem -> RubyGem * Reference -> http://guides.rubygems.org/what-is-a-gem/ --- guides/source/3_2_release_notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/3_2_release_notes.md') diff --git a/guides/source/3_2_release_notes.md b/guides/source/3_2_release_notes.md index afa06e002c..16ab7603a0 100644 --- a/guides/source/3_2_release_notes.md +++ b/guides/source/3_2_release_notes.md @@ -67,7 +67,7 @@ Creating a Rails 3.2 application -------------------------------- ```bash -# You should have the 'rails' rubygem installed +# You should have the 'rails' RubyGem installed $ rails new myapp $ cd myapp ``` -- cgit v1.2.3 From d2fe72345aeea2a0874dfe5c665368b9fd543bcb Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Tue, 30 Apr 2013 17:59:12 +0200 Subject: it's Active Record not ActiveRecord /cc @fxn --- guides/source/3_2_release_notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/3_2_release_notes.md') diff --git a/guides/source/3_2_release_notes.md b/guides/source/3_2_release_notes.md index 16ab7603a0..e036860de2 100644 --- a/guides/source/3_2_release_notes.md +++ b/guides/source/3_2_release_notes.md @@ -189,7 +189,7 @@ Action Pack * form\_for is changed to use "#{action}\_#{as}" as the css class and id if `:as` option is provided. Earlier versions used "#{as}\_#{action}". -* `ActionController::ParamsWrapper` on ActiveRecord models now only wrap `attr_accessible` attributes if they were set. If not, only the attributes returned by the class method `attribute_names` will be wrapped. This fixes the wrapping of nested attributes by adding them to `attr_accessible`. +* `ActionController::ParamsWrapper` on Active Record models now only wrap `attr_accessible` attributes if they were set. If not, only the attributes returned by the class method `attribute_names` will be wrapped. This fixes the wrapping of nested attributes by adding them to `attr_accessible`. * Log "Filter chain halted as CALLBACKNAME rendered or redirected" every time a before callback halts. -- cgit v1.2.3