diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-04-14 12:33:28 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-04-14 12:33:28 +0530 |
commit | 00a805d41939b44a703848b21054224afde026dc (patch) | |
tree | 8df414d863bd6b6746758777334d841a36969cf5 /guides | |
parent | 2026bb1026572d8ae5e5bdfb8f19d9af3e7f4128 (diff) | |
download | rails-00a805d41939b44a703848b21054224afde026dc.tar.gz rails-00a805d41939b44a703848b21054224afde026dc.tar.bz2 rails-00a805d41939b44a703848b21054224afde026dc.zip |
ARel -> Arel
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/3_2_release_notes.md | 2 |
1 files changed, 1 insertions, 1 deletions
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. |