diff options
author | alkesh26 <alkesh26@gmail.com> | 2019-01-26 17:15:50 +0530 |
---|---|---|
committer | alkesh26 <alkesh26@gmail.com> | 2019-01-26 17:15:50 +0530 |
commit | 4b9d6e01ba267c13be7136a9c83699eeb9bcc1bf (patch) | |
tree | 840266a76144605857d3f00b07dcd663789fa12a /actionpack/lib | |
parent | 8642e3dce569f4d40c3d1a9fb9a9e635e4c391ae (diff) | |
download | rails-4b9d6e01ba267c13be7136a9c83699eeb9bcc1bf.tar.gz rails-4b9d6e01ba267c13be7136a9c83699eeb9bcc1bf.tar.bz2 rails-4b9d6e01ba267c13be7136a9c83699eeb9bcc1bf.zip |
Typo fixes action pack.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/exceptions.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/exceptions.rb b/actionpack/lib/action_controller/metal/exceptions.rb index 30034be018..e1e0c6f456 100644 --- a/actionpack/lib/action_controller/metal/exceptions.rb +++ b/actionpack/lib/action_controller/metal/exceptions.rb @@ -52,7 +52,7 @@ module ActionController end # Raised when a nested respond_to is triggered and the content types of each - # are incompatible. For exampe: + # are incompatible. For example: # # respond_to do |outer_type| # outer_type.js do diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index 04922b0715..815f82a1f2 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -795,7 +795,7 @@ module ActionController @permitted = coder.map["ivars"][:@permitted] when "!ruby/object:ActionController::Parameters" # YAML's Object format. Only needed because of the format - # backwardscompability above, otherwise equivalent to YAML's initialization. + # backwards compatibility above, otherwise equivalent to YAML's initialization. @parameters, @permitted = coder.map["parameters"], coder.map["permitted"] end end |