- 04 7月, 2010 2 次提交
-
-
由 Wincent Colaiuta 提交于
Commit f7ba614c 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 f7ba614c. Signed-off-by: NWincent Colaiuta <win@wincent.com> Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeremy Kemper 提交于
-
- 03 7月, 2010 8 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Andrew White 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
[#4979 state:committed]
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
[#4979]
-
由 Geoff Buesing 提交于
Time#as_json: use Time#formatted_offset instead of strftime %z directive, which is non-standard and inaccurate on some platforms (e.g., Mac OS X). [#4979] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
-
由 José Valim 提交于
-
- 02 7月, 2010 8 次提交
-
-
由 José Valim 提交于
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
[#4979 state:committed] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Aaron Patterson 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Santiago Pastorino 提交于
-
由 Jeremy Kemper 提交于
-
由 José Valim 提交于
Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
-
- 01 7月, 2010 6 次提交
-
-
由 Cyril Mougel 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 James Le Cuirot 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
-
由 Jeremy Kemper 提交于
-
- 30 6月, 2010 16 次提交
-
-
由 Wincent Colaiuta 提交于
The documentation makes it sound like mail() only accepts a limited set of headers in the headers hash, but it in fact accepts any arbitrary headers, and there is a test ("can pass random headers in as a hash to mail") for it in the test suite. Signed-off-by: NWincent Colaiuta <win@wincent.com>
-
由 bodhi 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 Alex Muntean 提交于
Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting offset is negative [#4717 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Norman Clarke 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 James MacAulay 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 José Valim 提交于
* Allow to use the get :symbol shortcut outside resources scopes as well; * Fix a bug where :action was not being picked from given options; * Giving :as option inside a resource now changes just the relative name instead of the full name;
-
由 José Valim 提交于
-
由 Santiago Pastorino 提交于
We are trying to test that & escapes here not that & is being escaped, also added a cosmetic change to test_link_tag_with_query_and_no_name Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Gonçalo Silva 提交于
-
由 Aaron Patterson 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Tekin 提交于
Signed-off-by: NXavier Noria <fxn@hashref.com>
-
由 Xavier Noria 提交于
s/escape_once/html_escape/, since html safety is the contract that now says whether something has to be escaped
-
由 Xavier Noria 提交于
Rationale: url_for is just a path/URL generator, it is the responsability of the caller to escape conveniently HTML needs it, JavaScript needs different escaping, a text mail needs no escaping at all, etc.
-
由 José Valim 提交于
-