aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/configuration_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix observers with AR::ModelJon Leighton2012-06-151-0/+21
|
* Fix config.active_record.whitelist_attributes with AR::ModelJon Leighton2012-06-151-3/+4
|
* Use . instead of :: for class methods, add CHANGELOG entriesJosé Valim2012-06-101-1/+1
|
* Merge pull request #6665 from schneems/schneems/raise-migration-errorJosé Valim2012-06-101-0/+15
|\ | | | | Notify A User they Have Pending Migrations
| * test errors for pending migrationsschneems2012-06-091-0/+15
| | | | | | App should raise error on page_load
* | Fix tests, active_authorizer shouldn't include blank valuesPiotr Sarnacki2012-06-091-1/+1
|/ | | | Fix for a test failing after: 00ff0a6776
* More assert_match warnings fixed.Arun Agrawal2012-05-301-3/+3
|
* add a factory method for queue construction so that apps can have multiple ↵Aaron Patterson2012-04-271-0/+8
| | | | queues
* configure how unverified request will be handledSergey Nartimov2012-03-091-4/+14
| | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception
* put and patch both are allowed for updateArun Agrawal2012-02-251-1/+7
|
* uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-241-4/+0
| | | | the update action of resources
* Add config.default_method_for_update to support PATCHDavid Lee2012-02-221-2/+45
| | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
* fix a small typo [ci skip]Vijay Dev2012-01-271-1/+1
|
* Remove redundant instance_variables (@colorize_logging)kennyj2012-01-271-0/+5
|
* Remove deprecated default_charset= from AC::BaseCarlos Antonio da Silva2012-01-171-0/+8
| | | | | This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead
* convert railties to use AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* remove Rails application fallback from AD::IntegrationTestSergey Nartimov2011-12-231-0/+5
| | | | set AD::IntegrationTest.app in railtie initializer
* just require things onceAaron Patterson2011-12-211-4/+2
|
* append puts the routes after the default, which causes a 404. instead use ↵Aaron Patterson2011-12-211-1/+1
| | | | prepend
* Get rid of more 1.8.x dead codeJosé Valim2011-12-201-6/+2
|
* put backtrace_cleaner to envlest2011-11-281-4/+5
|
* middlewares should use logger from envlest2011-11-251-0/+1
|
* Fix railtie configuration test calling PostsController#create which didn't existDenis Odorcic2011-10-271-1/+1
|
* possibly useless use of :: in void context Warning removedArun Agrawal2011-09-301-4/+4
|
* Rails.application#env_config is now public API. [Closes #1924]Franck Verrot2011-07-111-0/+9
|
* Make Rails.groups accept arrays.José Valim2011-07-101-1/+1
|
* Add Rails.groups to encapsulate available groups for require.José Valim2011-06-211-0/+15
|
* Fix double definition of #teardown. Thanks @mike-burns :+1:Jon Leighton2011-06-061-3/+0
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-061-0/+4
|
* Fixes failing test, closes #1098.José Valim2011-05-171-1/+1
|
* Test csrf token param name customizationDavid Lee2011-05-101-2/+15
|
* Ensure params wrapper settings are not inherited and calculated each time.José Valim2011-05-061-3/+27
|
* Allow ignore_accept_header through configuration option.José Valim2011-05-021-0/+21
|
* Add `ActionController::ParamsWrapper` to wrap parameters into a nested hashPrem Sichanugrist2011-05-031-0/+10
| | | This will allow us to do a rootless JSON/XML request to server.
* added config.active_record.whitelist_attributes which creates an empty ↵Josh Kalderimis2011-04-241-0/+12
| | | | whitelist of attributes available for mass assignment for all models in your app
* added find_zone and find_zone! to AS timezones and changed the AS Railtie to ↵Josh Kalderimis2011-04-051-0/+22
| | | | | | use find_zone! as well as adding Railtie tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* remove AM delegating register_observer and register_interceptor to Mail and ↵Josh Kalderimis2011-04-041-0/+65
| | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com>
* Make sure that we set `env["action_dispatch.show_exceptions"]`Prem Sichanugrist2011-02-251-0/+15
| | | | This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.
* Bring back config.action_view.cache_template_loading [#5847 state:resolved]Piotr Sarnacki2010-12-161-0/+38
|