aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/rack_delegation.rb
Commit message (Collapse)AuthorAgeFilesLines
* fixes stack level too deep exception on action named 'status' returning ↵Christiaan Van den Poel2014-05-151-1/+1
| | | | 'head :ok'
* Do note remove `Content-Type` when `render :body`Prem Sichanugrist2014-03-051-2/+2
| | | | | | | | | | | | | `render :body` should just not set the `Content-Type` header. By removing the header, it breaks the compatibility with other parts. After this commit, `render :body` will returns `text/html` content type, sets by default from `ActionDispatch::Response`, and it will preserve the overridden content type if you override it. Fixes #14197, #14238 This partially reverts commit 3047376870d4a7adc7ff15c3cb4852e073c8f1da.
* Add `#no_content_type` attribute to `AD::Response`Prem Sichanugrist2014-02-181-2/+2
| | | | | Setting this attribute to `true` will remove the content type header from the request. This is use in `render :body` feature.
* extract response setting to a methodAaron Patterson2012-07-031-2/+8
|
* push response creation down since third param is never used.Aaron Patterson2012-07-021-3/+3
|
* Remove a relic of #request being in RackDelegationwycats2010-06-191-4/+0
|
* Changes made while working on upgrading cells to Rails 3wycats2010-06-021-4/+4
|
* Eliminate warnings for AM on 1.8wycats2010-03-161-4/+2
|
* Simplify the action endpoint:Carlhuda2010-03-081-4/+1
| | | | | | | * Remove ActionEndpoint in favor of passing a block to MiddlewareStack * Always create a Request; the performance win of RackDelegation is around the response; the Request object hit is limited to a single object allocation * #dispatch takes a Request
* All AD modules are "deferrable"Joshua Peek2009-12-221-0/+3
|
* reset_session needs to be a real method so flash can override itJoshua Peek2009-12-211-1/+5
|
* Rename RackConvenience => RackDelegationJoshua Peek2009-12-201-0/+28