Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Rails::Paths::Path#existent in database_configuration | Pier-Olivier Thibault | 2014-05-07 | 1 | -0/+16 |
| | | | | | | | | | | | | | Database configuration was trying to load the first path that config.paths['config/database'] was returning even if the path didn't exist in the filesystem. Because Rails::Paths::Path has the possibility to return more than 1 path (as an array), database_configuration should filter down the paths to the existing one and then load the first one. This would make it possible to move the database.yml file and add the new path to paths['config/database'] and still load the configurations. | ||||
* | Make console and generators blocks works at Application instance level | Rafael Mendonça França | 2014-04-14 | 1 | -0/+76 |
| | | | | | | | Like rake tasks and runner blocks these blocks should also being shared between applications since they are stored at the classes. Fixes #14748 | ||||
* | :scissors: | Rafael Mendonça França | 2014-04-14 | 1 | -4/+4 |
| | |||||
* | Add config.annotations, in order to register new extensions for Rake notes ↵ | robertomiranda | 2014-03-16 | 1 | -0/+10 |
| | | | | at config level | ||||
* | Revert "Only lookup `config.log_level` for stdlib `::Logger`. Closes #11665." | Guillermo Iguaran | 2014-02-21 | 1 | -14/+1 |
| | | | | | | | | | | | | This reverts commit e0a521cfcd13e4d1f0ae8ab96004289e1c020f71. Conflicts: railties/CHANGELOG.md We expect loggers to quack like stdlib logger. If log4r needs different level= assignment, using a Logger-quacking wrapper is the way to do it. Fixes #14114. | ||||
* | do not crash when `config/secrets.yml` is blank. | Yves Senn | 2014-02-12 | 1 | -0/+8 |
| | |||||
* | Add config to disable schema dump after migration | Emil Soman | 2014-02-06 | 1 | -0/+17 |
| | | | | | | | | | * Add a config on Active Record named `dump_schema_after_migration` * Schema dump doesn't happen if the config is set to false * Set default value of the config to true * Set config in generated production environment file to false * Update configuration guide * Update CHANGELOG | ||||
* | Only lookup `config.log_level` for stdlib `::Logger`. Closes #11665. | Yves Senn | 2014-01-13 | 1 | -1/+14 |
| | | | | | | | | This prevents Rails from assigning meaningless log levels to third party loggers like log4r. If `Rails.logger` is not `kind_of?(::Logger)` we simply assign the `config.log_level` as is. This bug was introduced by #11665. | ||||
* | Fix tests names: tokens.yml => secrets.yml | Guillermo Iguaran | 2013-12-25 | 1 | -2/+2 |
| | |||||
* | Make possible to use symbol as the verifier name | Rafael Mendonça França | 2013-12-19 | 1 | -6/+6 |
| | |||||
* | Rename tokens.yml to secrets.yml | Guillermo Iguaran | 2013-12-12 | 1 | -3/+3 |
| | |||||
* | Add test for custom tokens stored in config/tokens.yml | Guillermo Iguaran | 2013-12-12 | 1 | -0/+13 |
| | |||||
* | Load secret_key_base from tokens.yml, fallback to config.secret_key_base | Guillermo Iguaran | 2013-12-12 | 1 | -3/+23 |
| | |||||
* | Assert the singleton instead of to truthy/falsy | Rafael Mendonça França | 2013-12-05 | 1 | -4/+4 |
| | | | | | This will avoid false positives where caching? is nil and should be false | ||||
* | Add tests to cache_template_loading when an engine loaded Action View | Rafael Mendonça França | 2013-12-05 | 1 | -0/+14 |
| | | | | | | | | before the application This test is a regression test to b068e20b35797aa6deaa377a48c990759734f515 that changed the load order of Action View initializers. | ||||
* | Make salt argument required for message verifier | Rafael Mendonça França | 2013-12-04 | 1 | -5/+5 |
| | |||||
* | Test if two different verifiers don't share the same secret | Rafael Mendonça França | 2013-12-04 | 1 | -2/+12 |
| | |||||
* | Don't need to use a controller to test the verifier | Rafael Mendonça França | 2013-12-04 | 1 | -9/+3 |
| | |||||
* | No need to configure salts | Rafael Mendonça França | 2013-12-04 | 1 | -21/+1 |
| | |||||
* | Make possibile to get different message verifiers | Rafael Mendonça França | 2013-12-04 | 1 | -0/+10 |
| | |||||
* | Rename verifier to message_verifier | Rafael Mendonça França | 2013-12-04 | 1 | -3/+3 |
| | |||||
* | Add application verifier | Rafael Mendonça França | 2013-12-04 | 1 | -0/+41 |
| | | | | | | | | It is an application global verifier that can be used to generate and verify signed messages. See the documentation of ActiveSupport::MessageVerifier for more information. | ||||
* | update Rails::Railtie::Configuration and ↵ | Jon Kessler | 2013-08-16 | 1 | -0/+7 |
| | | | | ActionDispatch::Response#respond_to? to accept include_private argument | ||||
* | Rails.logger should have level specified by config.log_level. | Max Shytikov | 2013-07-30 | 1 | -0/+8 |
| | | | Fix bug when log level of Rails.logger (which was set via config.logger) does not match the config.log_level. | ||||
* | Fixing build for not checking migration | Arun Agrawal | 2013-06-05 | 1 | -0/+1 |
| | |||||
* | Removing use of subclassed application constant and instead using the | wangjohn | 2013-06-03 | 1 | -2/+2 |
| | | | | | more agnostic Rails.application syntax. This means tests will be more portable, and won't rely on the existence of a particular subclass. | ||||
* | Fix some typos | Vipul A M | 2013-03-24 | 1 | -1/+1 |
| | |||||
* | Revert "make new rails apps log to STDOUT" | Steve Klabnik | 2013-03-15 | 1 | -21/+0 |
| | | | | | | This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451. Per discussion with @jeremy and @rubys on Campfire. | ||||
* | make new rails apps log to STDOUT | Terence Lee | 2013-03-15 | 1 | -0/+21 |
| | |||||
* | Revert "Set the default timezone after the initialization since the ↵ | Carlos Antonio da Silva | 2013-01-22 | 1 | -11/+1 |
| | | | | | | configuration" This reverts commit 39374aa925a7d670b039c0c0c9aa9f4aef19466b. | ||||
* | Restore and adapt the implementation reverted at | Rafael Mendonça França | 2013-01-19 | 1 | -0/+48 |
| | | | | | | https://github.com/rails/rails/commit/cc1c3c5be061e7572018f734e5239750ab449e3f Now instead of raise, we log by default in development and test | ||||
* | Revert "unpermitted params" exception -- it's just not going to work. See ↵ | David Heinemeier Hansson | 2013-01-08 | 1 | -48/+0 |
| | | | | the discussion on https://github.com/rails/strong_parameters/pull/75. | ||||
* | Move config.filter_parameters to you own initializer file | Rafael Mendonça França | 2013-01-05 | 1 | -2/+2 |
| | | | | This is very rarely changed and does not deserve to be in application.rb | ||||
* | Assert config.filter_parameters should be able to be set in a initializer | Rafael Mendonça França | 2013-01-05 | 1 | -0/+10 |
| | |||||
* | Remove warning "ambiguous first argument" | Carlos Antonio da Silva | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | Rename the configuration to raise_on_unpermitted_parameters | Rafael Mendonça França | 2013-01-05 | 1 | -9/+9 |
| | | | | Also changed the exception to UnpermittedParameters | ||||
* | Ensure that raise_on_unexpected_params configuration will work | Rafael Mendonça França | 2013-01-05 | 1 | -0/+48 |
| | |||||
* | Set the default timezone after the initialization since the configuration | Rafael Mendonça França | 2013-01-04 | 1 | -1/+11 |
| | | | | | | now lives in the application initializers. Fix #8711 | ||||
* | Correctly shows RAILS_ENV=development even when ENV['RAILS_ENV'] is not set ↵ | Andy Lindeman | 2012-12-21 | 1 | -0/+12 |
| | | | | | | (e.g., in Pow) * Fixes #8025 | ||||
* | Remove observers and sweepers | Rafael Mendonça França | 2012-11-28 | 1 | -21/+0 |
| | | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik] | ||||
* | Rename secret_token_key to secret_key_base | Santiago Pastorino | 2012-11-03 | 1 | -2/+2 |
| | |||||
* | Use derived keys everywhere, http_authentication was missing it | Santiago Pastorino | 2012-11-03 | 1 | -18/+0 |
| | |||||
* | Sign cookies using key deriver | Santiago Pastorino | 2012-11-03 | 1 | -2/+22 |
| | |||||
* | Merge branch 'master' into asset-path-helper | Joshua Peek | 2012-10-15 | 1 | -22/+14 |
|\ | | | | | | | | | Conflicts: railties/test/application/configuration_test.rb | ||||
| * | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -15/+15 |
| | | |||||
| * | Backpedal from class-oriented config.queue. Set an actual queue instance. | Jeremy Kemper | 2012-10-12 | 1 | -8/+0 |
| | | |||||
* | | Remove old asset_path from rails config | Joshua Peek | 2012-10-15 | 1 | -20/+0 |
|/ | |||||
* | Remove action cache related tests | Rafael Mendonça França | 2012-10-04 | 1 | -42/+0 |
| | |||||
* | Make Rails.public_path return a Pathname | Prem Sichanugrist | 2012-10-02 | 1 | -1/+9 |
| | |||||
* | Provide access to the application's KeyGenerator | Michael Koziarski | 2012-10-01 | 1 | -0/+1 |
| | | | | Available both as an env entry for rack and an instance method on Rails::Application for other uses |