aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
...
* Woops, forgot to actually add active_support/core_ext/file/path.rbCarlhuda2010-02-231-0/+1
|
* 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.
* Add a test for default_url_options in AM.José Valim2010-02-211-0/+11
|
* Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵José Valim2010-02-191-3/+15
| | | | after_initializer is executed after to_prepare callbacks.
* Ensure config.after_initializer is executed before building the middleware ↵José Valim2010-02-181-0/+14
| | | | stack.
* Merge master.José Valim2010-02-171-1/+1
|\
| * Fix test load paths for those not using bundlerJoshua Peek2010-02-151-1/+1
| |
* | Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-1/+1
|/
* Check if Test::Unit is defined before adding backtrace filter.José Valim2010-02-071-0/+17
|
* Add config.generators.templates to provide alternative paths for template ↵José Valim2010-02-061-11/+4
| | | | lookup.
* Deprecate AC configuration values which were moved to Rack.José Valim2010-02-012-2/+2
|
* Add config.generators.fallbacks.José Valim2010-02-011-1/+12
|
* Improve railtie deprecation messages.José Valim2010-01-301-0/+7
|
* Move the ActiveRecord generator settings into the RailtieCarl Lerche2010-01-281-1/+1
|
* Add more tests to some key points in Railties.José Valim2010-01-283-3/+30
| | | | 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>
* Test::Unit Railtie Carlhuda2010-01-281-2/+8
|
* Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵José Valim2010-01-261-1/+6
| | | | any metal was declared.
* Refactor railties test, break huge files in smaller chunks and move ↵José Valim2010-01-2613-271/+441
| | | | initializers to application folder.
* Ensure calling a method in Rails::Application does not instantiate a void ↵José Valim2010-01-261-0/+7
| | | | application.
* Ensure environment config has higher priority than application ones.José Valim2010-01-241-1/+12
|
* Move console stuff to its own directory.José Valim2010-01-231-2/+2
|
* Merge branch 'master' into appJosé Valim2010-01-231-1/+1
|\ | | | | | | | | Conflicts: railties/lib/rails/application.rb
| * Delegate App calls to instanceJoshua Peek2010-01-221-1/+1
| |
| * Add test case for load initializers before routing behavior.Prem Sichanugrist2010-01-221-0/+28
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Ensure user set load paths have higher preference and move Bootstrap inside ↵José Valim2010-01-231-1/+1
| | | | | | | | Application.
* | Get rid of initializers global and create i18n railtie.José Valim2010-01-232-29/+2
| |
* | Got tests working once again.José Valim2010-01-221-2/+2
| |
* | Add view paths to Engine setup.José Valim2010-01-221-2/+2
| |
* | Add test case for load initializers before routing behavior.Prem Sichanugrist2010-01-211-0/+28
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-211-2/+2
| | | | anything in the middleware stack.
* Default to sync instrumentation.José Valim2010-01-211-1/+1
|
* 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>
* Add notifications to default middleware stack and update subscriber tests.José Valim2010-01-172-1/+2
|
* 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-132-6/+42
|
* Cleanup junk metal and revise APIJoshua Peek2010-01-102-2/+3
| | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response.
* Rewrite Metal testsJoshua Peek2010-01-101-0/+86
|
* Run railtie and plugin initializers before app specific onesJoshua Peek2010-01-071-0/+11
|
* assert_template depends on AV::Template monkey patches in action_view/test_caseJoshua Peek2010-01-051-0/+25
|
* Trash string coercion rack hacksJoshua Peek2010-01-041-1/+0
|
* Default middleware stack needs to be available at configuration timeJoshua Peek2010-01-041-0/+12
|
* Middleware configuration testsJoshua Peek2010-01-041-0/+67
|
* Smoke test for test_helpJoshua Peek2010-01-041-0/+38
|
* AppName::Application.root should workYehuda Katz2010-01-021-0/+5
|
* Some railties cleanup:Carl Lerche2009-12-313-0/+4
| | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin
* Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rbCarl Lerche2009-12-311-1/+1
|