aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* deprecate Base#assign_default_content_type_and_charsetJeremy Kemper2008-08-211-0/+5
|
* Move default content type and charset from Base to Response. Handle charset ↵Jeremy Kemper2008-08-212-16/+30
| | | | = nil.
* Allow polymorphic_url helper to take url options. [#880 state:resolved]Tarmo Tänav2008-08-211-5/+11
| | | | | | | | | All *_polymorphic_url, *_polymorphic_path helpers can now accept an options hash which will be passed on to the named route making it possible to generate polymorphic routes with additional url parameters. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Simplified and renamed CallbackChain union method to replace_or_append!Joshua Peek2008-08-211-1/+1
|
* Switched integration test runner to use Rack processor instead of CGIJoshua Peek2008-08-201-44/+32
|
* Don't shadow query string methodJoshua Peek2008-08-191-1/+10
|
* Return nil instead of a space when passing an empty collection or nil to ↵Ryan Bates2008-08-191-3/+6
| | | | | | 'render :partial' [#791 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Delegate xhr helper method to integration sessionJoshua Peek2008-08-191-1/+1
|
* Make AbstractRequest.if_modified_sense return nil if the header could not be ↵Jamis Buck2008-08-191-1/+1
| | | | parsed
* hack around CGI session closeJoshua Peek2008-08-191-1/+5
|
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-181-2/+2
| | | | RAILS_DEFAULT_LOGGER unless necessary.
* Use Response status accessor instead of the Status headerJoshua Peek2008-08-171-17/+17
|
* Merge RackProcess#normalize_headers logic into AbstractResponse#prepare!Joshua Peek2008-08-171-35/+52
|
* Set cache control to require revalidation if cache freshness response ↵Jeremy Kemper2008-08-141-5/+14
| | | | headers are set. Don't set Content-Length header if 304 status.
* TestRequest#recycle! uses unmemoize_all to reset cached request method, ↵Jeremy Kemper2008-08-131-3/+3
| | | | accepts, etc.
* Refactor Filter predicate methods to use inheritance. [#815 state:resolved]Josh Susser2008-08-131-3/+16
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge branch 'conditional-get'Jeremy Kemper2008-08-126-188/+190
|\
| * Update tests for request memoizationJeremy Kemper2008-08-082-17/+32
| |
| * Don't shadow host methodJeremy Kemper2008-08-081-1/+1
| |
| * Simplifying usage of ETags and Last-Modified and conditional GET requestsJeremy Kemper2008-08-075-129/+158
| |
| * Inherit these from AbstractRequest insteadJeremy Kemper2008-08-071-46/+4
| |
* | dryed up resources; fixed small formatting issue in resources rdocJames Rosen2008-08-081-25/+25
|/ | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Be more careful about deducing action_methodsJeremy Kemper2008-08-061-6/+10
|
* Strip newlines from cookie session dataJeremy Kemper2008-08-051-1/+1
|
* Ensure public superclass methods don't shadow public controller methods. ↵Jeremy Kemper2008-08-051-3/+3
| | | | Case in point, ruby-debug's Kernel#start shadowing a controller's start action.
* Make assert_template failure message more friendlyJeffrey Hardy2008-08-051-2/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Expose Routing::Segment::SAFE_PCHAR list of path characters that don't need ↵Jeremy Kemper2008-08-041-1/+2
| | | | escaping
* List available actions in UnknownAction exception messageJeremy Kemper2008-07-311-1/+1
|
* Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby"Tarmo Tänav2008-07-311-7/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix file permissionsTarmo Tänav2008-07-315-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Prototype helpers should generate Element.insert instead of Insertion.new, ↵miloops2008-07-301-10/+16
| | | | which has been deprecated in Prototype 1.6.
* Remove send! usage, relic of reverted 1.9 behaviorJeremy Kemper2008-07-281-1/+1
|
* Added back ActionController::Base.allow_concurrency flag and moved lock down ↵Joshua Peek2008-07-282-12/+21
| | | | to controller processing.
* Prepare Route#generate and Route#recognize early. Also refactor segments a ↵Joshua Peek2008-07-286-200/+202
| | | | bit to try to make immutable.
* Routing whitespace cleanupJoshua Peek2008-07-288-78/+73
|
* Merge docrails changesPratik Naik2008-07-285-31/+203
|
* ActionController::Base.relative_url_root falls back to ↵Joshua Peek2008-07-241-1/+6
| | | | ENV['RAILS_RELATIVE_URL_ROOT']
* AbstractRequest.relative_url_root is no longer automatically configured by a ↵Joshua Peek2008-07-244-31/+22
| | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root
* Memoize ActionView::Base pick_template and find_partial_path for rendering ↵Joshua Peek2008-07-221-0/+2
| | | | duration
* Raise ArgumentError if an invalid method is specified as part of a route's ↵Tom Ward2008-07-182-4/+20
| | | | | | conditions. Also raise an error if HEAD is specified as the method, as rails routes all HEAD requests through the equivalent GET, though doesn't return the response body [#182 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* etag! and last_modified! conditional GET helpersJeremy Kemper2008-07-172-8/+47
|
* All 2xx requests are considered successful [#217 state:resolved]Joshua Peek2008-07-161-1/+1
|
* Use fully-qualified controller name when logging. [#600 state:resolved]Ripta Pasay2008-07-171-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Allow Dispatcher exceptions to be handled in application.rb using rescue_fromPratik Naik2008-07-161-12/+16
|
* Merge with docrails.Pratik Naik2008-07-1612-22/+64
|
* Make RackRequest#request_method respect _methodPratik Naik2008-07-161-4/+0
|
* RackResponse should not contain Status headerPratik Naik2008-07-161-1/+1
|
* RackRequest#content_type should return Mime::TypePratik Naik2008-07-161-1/+1
|
* Get buffer for fragment cache from template's @output_bufferJoshua Peek2008-07-151-3/+1
|
* Restore the more readable before_ and after_filters methods since they ↵Jeremy Kemper2008-07-141-10/+2
| | | | aren't called frequently