Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not set enforce_available_locales to i18n 0.7 | Rafael Mendonça França | 2014-07-23 | 1 | -3/+1 |
| | | | | | | Now the default is always true. Users still can set it using config.i18n.enforce_available_locales. | ||||
* | Require active_support at the railties | Rafael Mendonça França | 2014-05-27 | 1 | -0/+1 |
| | | | | Railties need to be used without having to require any dependecy first. | ||||
* | Remove `require 'active_support'` from individual modules | deeeki | 2014-05-27 | 1 | -1/+0 |
| | | | | | Let users require `active_support` before loading any ActiveSupport modules http://guides.rubyonrails.org/active_support_core_extensions.html | ||||
* | Fix typo [ci skip] | Carlos Antonio da Silva | 2013-12-21 | 1 | -1/+1 |
| | |||||
* | Default I18n.enforce_available_locales to true | Carlos Antonio da Silva | 2013-12-17 | 1 | -4/+10 |
| | | | | | | | | | | | | We will default this option to true from now on to ensure users properly handle their list of available locales whenever necessary. This option was added as a security measure and thus Rails will follow it defaulting to secure option. Also improve the handling of I18n config options in its railtie, taking the new enforce_available_locales option into account, by setting it as the last one in the process. This ensures no other configuration will trigger a deprecation warning due to that setting. | ||||
* | set `i18n.enforce_available_locales` before `i18n.default_locale`. | Yves Senn | 2013-12-05 | 1 | -0/+5 |
| | |||||
* | update AS docs [ci skip] | Francesco Rodriguez | 2012-09-17 | 1 | -2/+2 |
| | |||||
* | Stop relying on mutable structures in the FileUpdateChecker | José Valim | 2012-06-12 | 1 | -20/+3 |
| | |||||
* | FileUpdateChecker should be able to handle deleted files. | José Valim | 2011-12-13 | 1 | -1/+1 |
| | |||||
* | Clean up FileUpdateChecker API. | José Valim | 2011-12-13 | 1 | -2/+6 |
| | |||||
* | Speed up development by only reloading classes if dependencies files changed. | José Valim | 2011-12-12 | 1 | -1/+2 |
| | | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3 | ||||
* | stop circular require warnings | Aaron Patterson | 2011-08-24 | 1 | -1/+0 |
| | |||||
* | dealing with some -w warnings on startup | Aaron Patterson | 2011-08-24 | 1 | -0/+2 |
| | |||||
* | Some style changes | suchasurge | 2011-03-06 | 1 | -1/+1 |
| | |||||
* | Ensure I18n setup is only executed once if triggered on eager loading [#6353 ↵ | Saimon Moore | 2011-02-01 | 1 | -12/+20 |
| | | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Additionally trigger i18n configuration setup before any eager loading ↵ | Saimon Moore | 2011-02-01 | 1 | -4/+11 |
| | | | | | | | | | [#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> | ||||
* | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare | John Firebaugh | 2010-12-20 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Add the possibility to have several behaviors in AS::Deprecation. | José Valim | 2010-07-01 | 1 | -0/+1 |
| | |||||
* | I18n.reload! is only called if any of the locale files actually changed. | José Valim | 2010-06-20 | 1 | -0/+80 |