aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/configuration.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update generator config to support hiding namespaces and pass the app into ↵wycats2011-05-241-0/+6
| | | | generator blocks
* Make deep copy of application generators on engine initialization.Piotr Sarnacki2010-11-021-0/+8
| | | | | Otherwise nested hashes will be same objects for both application and engine, which will result in overwriting each others values on changes.
* Removed most of deprecated stuff from Application and EnginePiotr Sarnacki2010-09-031-81/+0
|
* Make config.generators accept string namespaces, you can do now ↵Santiago Pastorino2010-07-211-0/+1
| | | | | | config.generators.test_framework 'rspec' for instance Signed-off-by: José Valim <jose.valim@gmail.com>
* We are doing the same in this conditionsSantiago Pastorino2010-07-211-3/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add delete to middleware stack proxy.José Valim2010-06-071-0/+4
|
* Move AD::Cascade to the bottom of the middleware stack.José Valim2010-05-161-0/+31
|
* Add missing deprecation requiresJeremy Kemper2010-04-291-0/+1
|
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-051-0/+12
| | | | configuration in request.env. This is another step forward removing global configuration.
* No need for a module if it's only being included once into an empty class.Carl Lerche2010-03-041-94/+0
|
* Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-031-1/+1
|
* Move remote_ip to a middleware:Carlhuda2010-03-031-2/+3
| | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies
* Don't rely on Rails.application global state in ConfigCarlhuda2010-03-031-6/+10
|
* Fix unstated usage of Action DispatchJeremy Kemper2010-03-011-16/+21
|
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-0/+1
| | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
* Add config.generators.templates to provide alternative paths for template ↵José Valim2010-02-061-1/+2
| | | | lookup.
* Deprecate AC configuration values which were moved to Rack.José Valim2010-02-011-2/+2
|
* Add config.generators.fallbacks.José Valim2010-02-011-1/+2
|
* Improve railtie deprecation messages.José Valim2010-01-301-10/+10
|
* Add config.to_prepare back and add tests for it.José Valim2010-01-281-0/+8
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Refactor MetalLoader and RoutesReloader to rely less on class configuration.José Valim2010-01-281-1/+1
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Fix the test_framework generator testsCarl Lerche2010-01-281-0/+2
|
* Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵José Valim2010-01-261-1/+1
| | | | any metal was declared.
* Ensure metals and initializers in plugins are loaded.José Valim2010-01-241-1/+1
|
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Move configuration to subfolders.José Valim2010-01-231-212/+80
|
* Plugin is now an Engine.José Valim2010-01-231-8/+7
|
* Extract Railtie load from application.José Valim2010-01-231-0/+2
|
* Extract routes reloading responsibilities from application and load them ↵José Valim2010-01-231-4/+1
| | | | just upon a request.
* Ensure user set load paths have higher preference and move Bootstrap inside ↵José Valim2010-01-231-2/+1
| | | | Application.
* Get rid of initializers global and create i18n railtie.José Valim2010-01-231-159/+126
|
* Moved more configuration away from bootstrap.José Valim2010-01-221-3/+1
|
* Got tests working once again.José Valim2010-01-221-11/+17
|
* Add view paths to Engine setup.José Valim2010-01-221-20/+16
|
* Massive cleanup in Railties and load stack.José Valim2010-01-211-104/+129
|
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-211-5/+2
| | | | anything in the middleware stack.
* Default to sync instrumentation.José Valim2010-01-211-6/+6
|
* Tidy up new filter_parameters implementation.José Valim2010-01-211-1/+1
|
* Add deprecation warning for calling filter_parameter_logging ↵Prem Sichanugrist2010-01-211-0/+4
| | | | | | ActionController::Base, and allow it to be configured in config.filter_parameters Signed-off-by: José Valim <jose.valim@gmail.com>
* Add all folders in app/* to the load pathJoshua Peek2010-01-181-15/+3
|
* Move middleware builder back to Rails::Rack::Metal without losing the new ↵José Valim2010-01-171-0/+1
| | | | behavior.
* Get rid of prepare_each_request, since now it's a middleware initialization ↵José Valim2010-01-171-1/+1
| | | | parameter.
* Add notifications to default middleware stack and update subscriber tests.José Valim2010-01-171-0/+1
|
* Cookies middlewareJoshua Peek2010-01-161-0/+1
|
* Move Flash into middlewareJoshua Peek2010-01-151-0/+1
|
* Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-151-1/+1
|
* Set up subscriber on initialization.José Valim2010-01-131-6/+9
|
* Revert "Add a generator_paths config option"José Valim2010-01-131-7/+5
| | | | This reverts commit 8665c754cb61c947cd55f8886c28188050aed78d.
* Get everyone running on Rails.env and fix the broken environment settings ↵David Heinemeier Hansson2010-01-111-6/+6
| | | | for script/console and script/dbconsole
* Add a generator_paths config optionYehuda Katz2010-01-091-5/+7
|