1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch
Wincent Colaiuta 75b32a69a1 Fixes for "router" and "routes" terminology
Commit f7ba614c2d improved the internal consistency of the different
means of accessing routes, but it introduced some problems at the level
of code comments and user-visible strings.

This commit applies fixes on three levels:

Firstly, we remove or replace grammatically invalid constructs such as
"a routes" or "a particular routes".

Secondly, we make sure that we always use "the router DSL" or "the
router syntax", because this has always been the official terminology.

Finally, we make sure that we only use "routes" when referring to the
application-specific set of routes that are defined in the
"config/routes.rb" file, we use "router" when referring on a more
abstract level to "the code in Rails used to handle routing", and we use
"routing" when we need an adjective to apply to nouns such as
"url_helpers. Again this is consistent with historical practice and
other places in the documentation.

Note that this is not a sweep over the entire codebase to ensure
consistent usage of language; it is just a revision of the changes
introduced in commit f7ba614c2d.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-03 22:42:31 +02:00
..
http ETag: use body instead of @body since the method will always return a string 2010-06-28 14:46:22 -07:00
middleware porting session.clear fix to master branch. [#5030 state:resolved] 2010-07-01 15:17:19 -07:00
routing Fixes for "router" and "routes" terminology 2010-07-03 22:42:31 +02:00
testing Remove unused variable on assert_recognizes [#4912 state:resolved] 2010-06-22 17:37:18 +02:00
vendor/rack-mount-0.6.6.pre/rack Vendor unreleased rack-mount 0.6.6.pre dependency 2010-06-27 16:28:04 -07:00
railtie.rb Use the new ActiveSupport::FileUpdateChecker instead of RoutesReloader. 2010-06-20 13:37:58 +02:00
routing.rb Avoid calls to Rails::Application since this is not the official API. 2010-07-01 18:43:44 +02:00