aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/configuration_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix protect_against_forgeryCarlhuda2010-03-191-0/+27
|
* Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-041-2/+4
| | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
* Fix Sam Ruby's tests and deprecation warningsCarlhuda2010-03-041-2/+2
|
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-231-1/+1
| | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path.
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-0/+55
| | | | | | | | | | * 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.
* Fix test load paths for those not using bundlerJoshua Peek2010-02-151-1/+1
|
* Deprecate AC configuration values which were moved to Rack.José Valim2010-02-011-1/+1
|
* Improve railtie deprecation messages.José Valim2010-01-301-0/+7
|
* Add more tests to some key points in Railties.José Valim2010-01-281-1/+10
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Add config.to_prepare back and add tests for it.José Valim2010-01-281-0/+23
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Refactor railties test, break huge files in smaller chunks and move ↵José Valim2010-01-261-16/+7
| | | | initializers to application folder.
* Ensure calling a method in Rails::Application does not instantiate a void ↵José Valim2010-01-261-0/+7
| | | | application.
* Got tests working once again.José Valim2010-01-221-2/+2
|
* Add view paths to Engine setup.José Valim2010-01-221-2/+2
|
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-211-2/+2
| | | | anything in the middleware stack.
* Add deprecation warning for calling filter_parameter_logging ↵Prem Sichanugrist2010-01-211-0/+12
| | | | | | ActionController::Base, and allow it to be configured in config.filter_parameters Signed-off-by: José Valim <jose.valim@gmail.com>
* AppName::Application.root should workYehuda Katz2010-01-021-0/+5
|
* Some railties cleanup:Carl Lerche2009-12-311-0/+1
| | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin
* Raise a helpful error if config.frameworks is usedCarl Lerche2009-12-311-0/+16
|
* Fully remove config.frameworks in favor of requires in boot.rbCarl Lerche2009-12-311-1/+2
|
* Use the correct method for eager loading autoloadsCarl Lerche2009-12-291-0/+16
|
* Merge remote branch 'origin/master'Carlhuda2009-12-231-1/+1
|\ | | | | | | | | Conflicts: railties/lib/rails/application.rb
| * Fix reference to Application#configuration to use #configJeremy Kemper2009-12-231-1/+1
| |
* | Require active_support/all unless specifically requested to be left out.Carlhuda2009-12-231-0/+6
| |
* | tests pass with requiring the frameworks in rails.rbCarlhuda2009-12-231-19/+22
|/
* Blog -> Blog::Application. Leave the toplevel module up for grabs.Jeremy Kemper2009-12-211-1/+1
|
* Add the ability for plugins to set default configuration settings.Carl Lerche2009-12-151-0/+21
|
* Remove assert_raises usage that only test-unit 1 supports. Breaks minitest ↵Jeremy Kemper2009-12-061-2/+2
| | | | and test-unit 2.
* Add support for bare ActiveSupport via config.active_support.bareCarlhuda2009-12-021-0/+9
|
* Remove config.gem in favor of using the bundler. This makes config/boot.rb ↵Carl Lerche2009-10-161-1/+0
| | | | | | obsolete. The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem.
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-4/+4
| | | | application's object root)
* Have Rails.root be based off of config.ruCarl Lerche2009-10-141-2/+34
|
* Finish porting over the initializers to the app object and fix all the testsCarl Lerche2009-10-141-0/+17