aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail <mchliakh@gmail.com>2012-08-14 20:54:28 -0400
committerMikhail <mchliakh@gmail.com>2012-08-14 20:54:28 -0400
commit38e3e1a652ab0c99d9c54b11cf7e4783ae3f4baa (patch)
tree9bff7af8989b64c5bd435e09fc159496dbaaf77a
parent738bd0a0c204351d7322455b3c84c0b98358390b (diff)
downloadrails-38e3e1a652ab0c99d9c54b11cf7e4783ae3f4baa.tar.gz
rails-38e3e1a652ab0c99d9c54b11cf7e4783ae3f4baa.tar.bz2
rails-38e3e1a652ab0c99d9c54b11cf7e4783ae3f4baa.zip
corrected grammar [ci skip]
-rw-r--r--guides/source/action_controller_overview.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_controller_overview.textile b/guides/source/action_controller_overview.textile
index cc3350819b..3c828735ae 100644
--- a/guides/source/action_controller_overview.textile
+++ b/guides/source/action_controller_overview.textile
@@ -478,9 +478,9 @@ class ChangesController < ActionController::Base
end
</ruby>
-Note that an around filter wraps also rendering. In particular, if in the example above the view itself reads from the database via a scope or whatever, it will do so within the transaction and thus present the data to preview.
+Note that an around filter also wraps rendering. In particular, if in the example above, the view itself reads from the database (e.g. via a scope), it will do so within the transaction and thus present the data to preview.
-They can choose not to yield and build the response themselves, in which case the action is not run.
+You can choose not to yield and build the response yourself, in which case the action will not be run.
h4. Other Ways to Use Filters