aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/initializers/i18n_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed typo in railties/testPrathamesh Sonpatki2013-03-251-1/+1
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-7/+7
|
* Remove default match without specified methodJose and Yehuda2012-04-241-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::TestCaseAaron Patterson2012-01-051-1/+1
|
* Wait a full second so we have time for changes to propagateJosé Valim2011-12-161-0/+3
|
* Make i18n tests more robust.José Valim2011-06-121-3/+3
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-061-0/+4
|
* Additionally trigger i18n configuration setup before any eager loading ↵Saimon Moore2011-02-011-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 railtiesPiotr Sarnacki2010-09-051-2/+2
|
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-011-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é Valim2010-06-201-19/+114
|
* Refactor railties test, break huge files in smaller chunks and move ↵José Valim2010-01-261-0/+55
initializers to application folder.