aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵José Valim2010-04-081-0/+9
| | | | started in another directory which is not the RAILS_ROOT.
* Alleviate the pain in working with utf8 templates by setting a default encoding.José Valim2010-04-071-0/+12
|
* Remove app/views from the load paths [#4226 state:resolved]José Valim2010-04-051-0/+1
|
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-053-2/+18
| | | | configuration in request.env. This is another step forward removing global configuration.
* Add a test which ensures action_dispatch.show_exceptions is properly disabled.José Valim2010-04-021-0/+6
|
* Make X-Sendfile default to "" so it works correctly in dev mode.wycats2010-03-261-43/+36
| | | | | Provide a default in production.rb that can be modified, so that people who care about sendfile performance in production mode can get better performance easily.
* Remove invalid builtin tests since we aren't adding that dir to theJoshua Peek2010-03-201-18/+0
| | | | load path anymore
* Fix protect_against_forgeryCarlhuda2010-03-191-0/+27
|
* Add mailers to paths in case someone wants to access it directly and ensures ↵José Valim2010-03-061-3/+4
| | | | deep nesting works in controllers.
* Change generated code to replace faulty commentCarlhuda2010-03-041-1/+1
|
* Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-044-6/+10
| | | | 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-045-8/+8
|
* Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-032-2/+3
|
* Move remote_ip to a middleware:Carlhuda2010-03-031-0/+53
| | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies
* Fix a test that assumes that defined?(ActiveRecord) == ↵Carlhuda2010-03-021-1/+1
| | | | defined?(ActiveRecord::Base)
* nested controllers need to be explicitly declared with the new mapperJoshua Peek2010-02-281-1/+2
|
* reload! on console now works as expected. [#3822 status:resolved]José Valim2010-02-261-3/+29
|
* Final pass at removing the router from a global constantCarlhuda2010-02-251-0/+42
|
* 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.