diff options
author | Prem Sichanugrist <s@sikachu.com> | 2012-09-01 21:37:59 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2012-09-17 15:54:23 -0400 |
commit | 31ef4cf656785a190723d2d8fb4c0fd06f4009bc (patch) | |
tree | 582a93b9441b41c1150ae421a2a878194af6475e /guides/source/upgrading_ruby_on_rails.md | |
parent | ed62b1bf0b6fff53524c168f9615af84dea99537 (diff) | |
download | rails-31ef4cf656785a190723d2d8fb4c0fd06f4009bc.tar.gz rails-31ef4cf656785a190723d2d8fb4c0fd06f4009bc.tar.bz2 rails-31ef4cf656785a190723d2d8fb4c0fd06f4009bc.zip |
Convert all inline codes to Markdown syntax
Diffstat (limited to 'guides/source/upgrading_ruby_on_rails.md')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 5bcc49cc55..384bb7c71e 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -57,21 +57,17 @@ Rails 4.0 has changed how errors attach with the `ActiveModel::Validations::Conf Rails 4.0 changed how `assert_generates`, `assert_recognizes`, and `assert_routing` work. Now all these assertions raise `Assertion` instead of `ActionController::RoutingError`. -<<<<<<< HEAD Rails 4.0 also changed the way unicode character routes are drawn. Now you can draw unicode character routes directly. If you already draw such routes, you must change them, for example: -<ruby> +```ruby get Rack::Utils.escape('こんにちは'), :controller => 'welcome', :action => 'index' -</ruby> +``` becomes -<ruby> +```ruby get 'こんにちは', :controller => 'welcome', :action => 'index' -</ruby> -======= -Rails 4.0 also changed the way unicode character routes are drawn. Now you can draw unicode character routes directly. If you already draw such routes, you must change them, e.g. `get Rack::Utils.escape('こんにちは'), :controller => 'welcome', :action => 'index'` to `get 'こんにちは', :controller => 'welcome', :action => 'index'`. ->>>>>>> Convert inline code tags to Markdown +``` ### Active Support |