Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use relative links inside guides [ci skip] #9925

Merged
merged 1 commit into from Mar 25, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 15 additions & 15 deletions guides/source/2_2_release_notes.md
Expand Up @@ -31,20 +31,20 @@ Documentation

The internal documentation of Rails, in the form of code comments, has been improved in numerous places. In addition, the [Ruby on Rails Guides](http://guides.rubyonrails.org/) project is the definitive source for information on major Rails components. In its first official release, the Guides page includes:

* [Getting Started with Rails](http://guides.rubyonrails.org/getting_started.html)
* [Rails Database Migrations](http://guides.rubyonrails.org/migrations.html)
* [Active Record Associations](http://guides.rubyonrails.org/association_basics.html)
* [Active Record Query Interface](http://guides.rubyonrails.org/active_record_querying.html)
* [Layouts and Rendering in Rails](http://guides.rubyonrails.org/layouts_and_rendering.html)
* [Action View Form Helpers](http://guides.rubyonrails.org/form_helpers.html)
* [Rails Routing from the Outside In](http://guides.rubyonrails.org/routing.html)
* [Action Controller Overview](http://guides.rubyonrails.org/action_controller_overview.html)
* [Rails Caching](http://guides.rubyonrails.org/caching_with_rails.html)
* [A Guide to Testing Rails Applications](http://guides.rubyonrails.org/testing.html)
* [Securing Rails Applications](http://guides.rubyonrails.org/security.html)
* [Debugging Rails Applications](http://guides.rubyonrails.org/debugging_rails_applications.html)
* [Performance Testing Rails Applications](http://guides.rubyonrails.org/performance_testing.html)
* [The Basics of Creating Rails Plugins](http://guides.rubyonrails.org/plugins.html)
* [Getting Started with Rails](getting_started.html)
* [Rails Database Migrations](migrations.html)
* [Active Record Associations](association_basics.html)
* [Active Record Query Interface](active_record_querying.html)
* [Layouts and Rendering in Rails](layouts_and_rendering.html)
* [Action View Form Helpers](form_helpers.html)
* [Rails Routing from the Outside In](routing.html)
* [Action Controller Overview](action_controller_overview.html)
* [Rails Caching](caching_with_rails.html)
* [A Guide to Testing Rails Applications](testing.html)
* [Securing Rails Applications](security.html)
* [Debugging Rails Applications](debugging_rails_applications.html)
* [Performance Testing Rails Applications](performance_testing.html)
* [The Basics of Creating Rails Plugins](plugins.html)

All told, the Guides provide tens of thousands of words of guidance for beginning and intermediate Rails developers.

Expand Down Expand Up @@ -236,7 +236,7 @@ This will enable recognition of (among others) these routes:

* Lead Contributor: [S. Brent Faulkner](http://www.unwwwired.net/)
* More information:
* [Rails Routing from the Outside In](http://guides.rubyonrails.org/routing.html#nested-resources)
* [Rails Routing from the Outside In](routing.html#nested-resources)
* [What's New in Edge Rails: Shallow Routes](http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-shallow-routes)

### Method Arrays for Member or Collection Routes
Expand Down
9 changes: 7 additions & 2 deletions guides/source/engines.md
Expand Up @@ -676,7 +676,12 @@ There are now no strict dependencies on what the class is, only what the API for

Within an engine, there may come a time where you wish to use things such as initializers, internationalization or other configuration options. The great news is that these things are entirely possible because a Rails engine shares much the same functionality as a Rails application. In fact, a Rails application's functionality is actually a superset of what is provided by engines!

If you wish to use an initializer — code that should run before the engine is loaded — the place for it is the `config/initializers` folder. This directory's functionality is explained in the [Initializers section](http://guides.rubyonrails.org/configuring.html#initializers) of the Configuring guide, and works precisely the same way as the `config/initializers` directory inside an application. Same goes for if you want to use a standard initializer.
If you wish to use an initializer — code that should run before the engine is
loaded — the place for it is the `config/initializers` folder. This directory's
functionality is explained in the
[Initializers section](configuring.html#initializers) of the Configuring guide,
and works precisely the same way as the `config/initializers` directory inside
an application. Same goes for if you want to use a standard initializer.

For locales, simply place the locale files in the `config/locales` directory, just like you would in an application.

Expand Down Expand Up @@ -918,7 +923,7 @@ initializer "blorgh.assets.precompile" do |app|
end
```

For more information, read the [Asset Pipeline guide](http://guides.rubyonrails.org/asset_pipeline.html)
For more information, read the [Asset Pipeline guide](asset_pipeline.html)

### Other gem dependencies

Expand Down
5 changes: 4 additions & 1 deletion guides/source/upgrading_ruby_on_rails.md
Expand Up @@ -125,7 +125,10 @@ Please note that you should wait to set `secret_key_base` until you have 100% of
get 'clashing/:id' => 'test#example', as: :example
```

In the first case, you can simply avoid using the same name for multiple routes. In the second, you can use the `only` or `except` options provided by the `resources` method to restrict the routes created as detailed in the [Routing Guide](http://guides.rubyonrails.org/routing.html#restricting-the-routes-created).
In the first case, you can simply avoid using the same name for multiple
routes. In the second, you can use the `only` or `except` options provided by
the `resources` method to restrict the routes created as detailed in the
[Routing Guide](routing.html#restricting-the-routes-created).

* 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:

Expand Down