diff options
author | Eileen M. Uchitelle <eileencodes@gmail.com> | 2016-06-29 19:55:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-29 19:55:48 -0400 |
commit | 178792ab349c13b0b019fb987107ace5da4c6d15 (patch) | |
tree | f6947ca07e357bbad9f0867ad68cbc17565e99bd /guides | |
parent | 010548ab41623bb0220a38434da1cdb9ead35306 (diff) | |
parent | 2dfcc87736755d5a23b528416edd00fe2586830e (diff) | |
download | rails-178792ab349c13b0b019fb987107ace5da4c6d15.tar.gz rails-178792ab349c13b0b019fb987107ace5da4c6d15.tar.bz2 rails-178792ab349c13b0b019fb987107ace5da4c6d15.zip |
Merge pull request #25584 from vipulnsward/upgrading-guide
Pass over Upgrading guide
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 175603cffa..8a34a23a1e 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -164,7 +164,7 @@ it. ### Use bin/rails for running tasks and tests Rails 5 adds the ability to run tasks and tests through `bin/rails` instead of rake. Generally -these changes are in paralell with rake, but some were ported over altogether. +these changes are in parallel with rake, but some were ported over altogether. To use the new test runner simply type `bin/rails test`. @@ -177,7 +177,7 @@ Run `bin/rails` to see the list of commands available. Calling `params` in your application will now return an object instead of a hash. If your parameters are already permitted you will not need to make any changes. If you are using slice and other methods that depend on being able to read the hash regardless of `permitted?` you will -need to ugrade your application to first permit and then convert to a hash. +need to upgrade your application to first permit and then convert to a hash. params.permit([:proceed_to, :return_to]).to_h @@ -261,7 +261,7 @@ should support caching. ## Configure the output of `db:structure:dump` If you're using `schema_search_path` or other PostgreSQL extentions, you can control how the schema is -dumped. Set to `:all` to generate all dumps, or `:schema_search_path` to generate from schame search path. +dumped. Set to `:all` to generate all dumps, or `:schema_search_path` to generate from schema search path. config.active_record.dump_schemas = :all |