aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
diff options
context:
space:
mode:
authorGary S. Weaver <garysweaver@gmail.com>2013-07-17 17:19:22 -0400
committerGary S. Weaver <garysweaver@gmail.com>2013-07-17 17:19:22 -0400
commit9220bf05b5711350d6093fe84c81e81985368660 (patch)
tree818a797d7a186149f9c74a6c53f9d8bdf5c7790d /guides/source/upgrading_ruby_on_rails.md
parent5245648812733d2c31f251de3e05e78e68bfa3a5 (diff)
downloadrails-9220bf05b5711350d6093fe84c81e81985368660.tar.gz
rails-9220bf05b5711350d6093fe84c81e81985368660.tar.bz2
rails-9220bf05b5711350d6093fe84c81e81985368660.zip
grammar fix in upgrade documentation
Diffstat (limited to 'guides/source/upgrading_ruby_on_rails.md')
-rw-r--r--guides/source/upgrading_ruby_on_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index 5992e94cd8..06798faa98 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -155,7 +155,7 @@ Rails 4.0 no longer supports loading plugins from `vendor/plugins`. You must rep
* Rails 4.0 has changed `serialized_attributes` and `attr_readonly` to class methods only. You shouldn't use instance methods since it's now deprecated. You should change them to use class methods, e.g. `self.serialized_attributes` to `self.class.serialized_attributes`.
-* Rails 4.0 has removed `attr_accessible` and `attr_protected` feature in favor of Strong Parameters. You can use the [Protected Attributes gem](https://github.com/rails/protected_attributes) to a smoothly upgrade path.
+* Rails 4.0 has removed `attr_accessible` and `attr_protected` feature in favor of Strong Parameters. You can use the [Protected Attributes gem](https://github.com/rails/protected_attributes) for a smooth upgrade path.
* If you are not using Protected Attributes, you can remove any options related to
this gem such as `whitelist_attributes` or `mass_assignment_sanitizer` options.