aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/configuration_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* | Rename tokens.yml to secrets.ymlGuillermo Iguaran2013-12-121-3/+3
| |
* | Add test for custom tokens stored in config/tokens.ymlGuillermo Iguaran2013-12-121-0/+13
| |
* | Load secret_key_base from tokens.yml, fallback to config.secret_key_baseGuillermo Iguaran2013-12-121-3/+23
| |
* | Assert the singleton instead of to truthy/falsyRafael Mendonça França2013-12-051-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 ViewRafael Mendonça França2013-12-051-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 verifierRafael Mendonça França2013-12-041-5/+5
| |
* | Test if two different verifiers don't share the same secretRafael Mendonça França2013-12-041-2/+12
| |
* | Don't need to use a controller to test the verifierRafael Mendonça França2013-12-041-9/+3
| |
* | No need to configure saltsRafael Mendonça França2013-12-041-21/+1
| |
* | Make possibile to get different message verifiersRafael Mendonça França2013-12-041-0/+10
| |
* | Rename verifier to message_verifierRafael Mendonça França2013-12-041-3/+3
| |
* | Add application verifierRafael Mendonça França2013-12-041-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 Kessler2013-08-161-0/+7
| | | | ActionDispatch::Response#respond_to? to accept include_private argument
* Rails.logger should have level specified by config.log_level. Max Shytikov2013-07-301-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 migrationArun Agrawal2013-06-051-0/+1
|
* Removing use of subclassed application constant and instead using thewangjohn2013-06-031-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 typosVipul A M2013-03-241-1/+1
|
* Revert "make new rails apps log to STDOUT"Steve Klabnik2013-03-151-21/+0
| | | | | | This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451. Per discussion with @jeremy and @rubys on Campfire.
* make new rails apps log to STDOUTTerence Lee2013-03-151-0/+21
|
* Revert "Set the default timezone after the initialization since the ↵Carlos Antonio da Silva2013-01-221-11/+1
| | | | | | configuration" This reverts commit 39374aa925a7d670b039c0c0c9aa9f4aef19466b.
* Restore and adapt the implementation reverted atRafael Mendonça França2013-01-191-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 Hansson2013-01-081-48/+0
| | | | the discussion on https://github.com/rails/strong_parameters/pull/75.
* Move config.filter_parameters to you own initializer fileRafael Mendonça França2013-01-051-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 initializerRafael Mendonça França2013-01-051-0/+10
|
* Remove warning "ambiguous first argument"Carlos Antonio da Silva2013-01-051-1/+1
|
* Rename the configuration to raise_on_unpermitted_parametersRafael Mendonça França2013-01-051-9/+9
| | | | Also changed the exception to UnpermittedParameters
* Ensure that raise_on_unexpected_params configuration will workRafael Mendonça França2013-01-051-0/+48
|
* Set the default timezone after the initialization since the configurationRafael Mendonça França2013-01-041-1/+11
| | | | | | now lives in the application initializers. Fix #8711
* Correctly shows RAILS_ENV=development even when ENV['RAILS_ENV'] is not set ↵Andy Lindeman2012-12-211-0/+12
| | | | | | (e.g., in Pow) * Fixes #8025
* Remove observers and sweepersRafael Mendonça França2012-11-281-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_baseSantiago Pastorino2012-11-031-2/+2
|
* Use derived keys everywhere, http_authentication was missing itSantiago Pastorino2012-11-031-18/+0
|
* Sign cookies using key deriverSantiago Pastorino2012-11-031-2/+22
|
* Merge branch 'master' into asset-path-helperJoshua Peek2012-10-151-22/+14
|\ | | | | | | | | Conflicts: railties/test/application/configuration_test.rb
| * Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-15/+15
| |
| * Backpedal from class-oriented config.queue. Set an actual queue instance.Jeremy Kemper2012-10-121-8/+0
| |
* | Remove old asset_path from rails configJoshua Peek2012-10-151-20/+0
|/
* Remove action cache related testsRafael Mendonça França2012-10-041-42/+0
|
* Make Rails.public_path return a PathnamePrem Sichanugrist2012-10-021-1/+9
|
* Provide access to the application's KeyGeneratorMichael Koziarski2012-10-011-0/+1
| | | | Available both as an env entry for rack and an instance method on Rails::Application for other uses
* Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-181-13/+22
|\ | | | | Integrate strong_parameters in Rails 4
| * Add config.action_controller.permit_all_attributes to bypass ↵Guillermo Iguaran2012-09-161-0/+22
| | | | | | | | StrongParameters protection
| * Remove configuration test for config.activerecord.whitelist_attributesGuillermo Iguaran2012-09-161-13/+0
| |
* | Date.beginning_of_week thread local and beginning_of_week application config ↵gregolsen2012-09-181-0/+22
|/ | | | option added (default is Monday)
* Raise more helpful error message on missing gemPrem Sichanugrist2012-08-241-0/+19
| | | | | | Tell people to install `activerecord-session_store` gem when it's not installed instead ofraising `NameError` on missing `ActionDispatch::Session::ActiveRecordStore`.
* Deprecate config.threadsafe!José Valim2012-08-211-12/+9
|
* Get rid of config.preload_frameworks in favor of config.eager_load_namespacesJosé Valim2012-08-211-16/+0
| | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
* Remove allow_concurrency as a flagJosé Valim2012-08-211-1/+2
| | | | | | | | | | | | | | | | The flag was mainly used to add a Rack::Lock middleware to the stack, but the only scenario the lock is desired is in development. If you are deploying on a not-threaded server, the Rack::Lock does not provide any benefit since you don't have concurrent accesses. On the other hand, if you are on a threaded server, you don't want the lock, since it defeats the purpose of using a threaded server. If there is someone out there, running on a thread server and does want a lock, it can be added to your environment as easy as: `use Rack::Lock`
* ruby 1.9 hash syntax for generated codeRichard Huang2012-06-231-4/+4
| | | | | | | | app/controllers/application_controller.rb app/views/layouts/application.html.erb config/application.rb config/routes.rb test/performance/browsing_test.rb
* TestCase does not need to be loaded when loading the frameworkAaron Patterson2012-06-151-1/+10
|