Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Wait a full second so we have time for changes to propagate | José Valim | 2011-12-16 | 1 | -0/+3 |
| | |||||
* | Make i18n tests more robust. | José Valim | 2011-06-12 | 1 | -3/+3 |
| | |||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -0/+4 |
| | |||||
* | Additionally trigger i18n configuration setup before any eager loading ↵ | Saimon Moore | 2011-02-01 | 1 | -0/+30 |
| | | | | | | | | | [#6353 state:resolved] This handles the case where config.cache_classes is true and classes are loaded before the I18n load path has had a chance to be populated. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Removed deprecated router API from railties | Piotr Sarnacki | 2010-09-05 | 1 | -2/+2 |
| | |||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 1 | -1/+1 |
| | | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally. | ||||
* | I18n.reload! is only called if any of the locale files actually changed. | José Valim | 2010-06-20 | 1 | -19/+114 |
| | |||||
* | Refactor railties test, break huge files in smaller chunks and move ↵ | José Valim | 2010-01-26 | 1 | -0/+55 |
initializers to application folder. |