aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Added custom regexps to ASTs that have literal nodes on either side ofAaron Patterson2012-01-231-1/+20
| | | | symbol nodes. Fixes #4585
* Add default charset config to ActionDispatchCarlos Antonio da Silva2012-01-171-1/+2
|
* Add begin/ensure block since we are returning.José Valim2012-01-141-3/+5
|
* Use a BodyProxy instead of including a Module that responds to close.Santiago Pastorino2012-01-132-14/+31
| | | | Closes #4441 if Active Record is disabled assets are delivered correctly
* Add original_fullpath and original_url methods to RequestPiotr Sarnacki2012-01-101-0/+8
|
* Revert "Named Routes shouldn't override existing ones (currently route ↵Aaron Patterson2012-01-031-1/+1
| | | | | | recognition goes with the earliest match, named routes use the latest match)" This reverts commit 71d769e3b58cb56b4b1d5143936c65be8b27c490.
* Override respond_to? since we are also overriding method_missing.José Valim2012-01-031-0/+4
|
* Documented about using :path option for resourcesKevin Moore2011-12-291-0/+7
|
* Correctly display rack apps with dynamic constraints in RoutesInspectorPiotr Sarnacki2011-12-261-1/+1
| | | | | | | | | | | | | If you used dynamic constraint like that: scope :constraint => MyConstraint.new do mount RackApp => "/foo" end routes were not displayed correctly when using `rake routes`. This commit fixes it. If you want nice display of dynamic constraints in `rake routes` output, please just override to_s method in your constraint's class.
* add help text to routing errorschneems2011-12-171-8/+13
| | | | | | When a newcomer hits the routing error page they are often confused about how to trouble shoot the next step. Adding a simple help text can gently remind coders where to get more help.
* Allow symbols to be passed for extension aliasesJustin Campbell2011-12-171-1/+1
|
* Do not raise an exception if an invalid route was generated automatically.José Valim2011-12-161-3/+11
|
* ShowExceptions should understand X-Cascade responses from exceptions app.José Valim2011-12-163-6/+16
|
* Improve the specs on exceptions app.José Valim2011-12-161-1/+6
|
* Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-162-33/+48
|
* Get rid of the close checks since we cannot reliably close the session anyway.José Valim2011-12-164-27/+0
|
* Remove autoload for non-existent file.Uģis Ozols2011-12-151-1/+0
|
* Close the response body on cascade pass, closes #3975.José Valim2011-12-141-0/+2
|
* Fix url_for options[:subdomain] to allow objects as valueschoonkeat2011-12-141-1/+1
| | | | * e.g. blog_url(subdomain: current_user) instead of blog_url(subdomain: current_user.to_param)
* log exception backtrace when all backtrace lines silencedSergey Nartimov2011-12-131-1/+4
|
* use Array#join so that file encoding doesn't impact returned string.Aaron Patterson2011-12-121-3/+3
| | | | Fixes #3957
* Allow reloader to be configured.José Valim2011-12-121-14/+38
|
* Move symbolize keys to the inner options as we can assume url_options will ↵José Valim2011-12-082-2/+2
| | | | be properly symbolized.
* Improve cache on route_key lookup.José Valim2011-12-081-4/+6
|
* Remove dead broken code from AD::RequestJosé Valim2011-12-081-8/+0
|
* Merge pull request #3888 from kennyj/should_use_default_charsetJosé Valim2011-12-081-0/+1
|\ | | | | Assign config.encoding to AD::Response.default_charset at the initialization time.
| * Assign config.encoding to AD::Response.default_charset at the initialization ↵kennyj2011-12-071-0/+1
| | | | | | | | time.
* | Use freezed string constant. Some string literals is used repeatedly.kennyj2011-12-083-24/+40
|/
* Use default charset when we read content type without charset.kennyj2011-12-071-1/+1
|
* Named Routes shouldn't override existing ones (currently route recognition ↵Andy Jeffries2011-12-051-1/+1
| | | | goes with the earliest match, named routes use the latest match)
* Fix failing cascade exception.José Valim2011-12-032-2/+3
|
* Try to play nice with plugins doing monkey patches.José Valim2011-12-021-0/+5
|
* Split and improve show and debug exceptions middlewares.José Valim2011-12-011-11/+11
|
* Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-013-82/+106
|
* Add a deprecation to old show exceptions API (even though it was not public).José Valim2011-12-011-0/+14
|
* Add an ExceptionWrapper that wraps an exception and provide convenience helpers.José Valim2011-12-013-76/+102
|
* Allow rescue responses to be configured through a railtie.José Valim2011-12-012-9/+16
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-302-7/+7
|\
| * Fixing incorrect documentation Aviv Ben-Yosef2011-11-301-2/+2
| | | | | | `path_names` can only be used for affecting `new` and `edit`
| * Fix ActionDispatch::Request method explanationsTravis Pew2011-11-281-5/+5
| | | | | | | | | | | | | | | | The methods, "post?", "put?", "head?", etc. contain an incorrect explanation. They state that they are equivalent to request_method == :type, but this is not accurate because the methods convert the string to a symbol. They are actually equivalent to: request_method_symbol == :type
* | put backtrace_cleaner to envlest2011-11-281-13/+13
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-261-2/+2
|\
| * what's -> that'sUģis Ozols2011-11-251-1/+1
| |
| * Remove unnecessary comment.Uģis Ozols2011-11-251-1/+1
| |
* | middlewares should use logger from envlest2011-11-252-9/+13
| |
* | configuration option to always write cookielest2011-11-232-2/+7
| |
* | Remove unreachable code, and add additional testcases.kennyj2011-11-241-6/+1
| |
* | deprecation warning, changelog entrylest2011-11-221-1/+3
| |
* | add ActionController::Metal#show_detailed_exceptions?lest2011-11-221-9/+7
| |
* | Revert "copy options keys to the right place so that undo will work correctly"Aaron Patterson2011-11-191-4/+10
| | | | | | | | This reverts commit 3178cc9a80262d3bf7754f3507ef60243b46634f.