aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Fixed access to "Host" header with requests made by crappy old HTTP/1.0 ↵David Heinemeier Hansson2005-09-141-1/+1
| | | | | | clients #2124 [Marcel Molina] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added easy assignment of fragment cache store through use of symbols for ↵David Heinemeier Hansson2005-09-134-36/+41
| | | | | | included stores (old way still works too) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved session options to SessionManagementDavid Heinemeier Hansson2005-09-132-20/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController::Base.session_store=, session_store, and ↵David Heinemeier Hansson2005-09-131-0/+20
| | | | | | session_options to make it easier to tweak the session options (instead of going straight to ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont log creation of view classDavid Heinemeier Hansson2005-09-121-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use session_id instead of deprecated sessidDavid Heinemeier Hansson2005-09-121-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that request.path never returns nil. Closes #1675Nicholas Seckar2005-09-111-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ability to specify Route Regexps for controllers. Closes #1917.Nicholas Seckar2005-09-111-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide Named Route's hash methods as helper methods. Closes #1744.Nicholas Seckar2005-09-111-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use send instead of module_eval #1873 [shugo]David Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added in-place editing support in the spirit of auto complete with ↵David Heinemeier Hansson2005-09-113-47/+84
| | | | | | ActionController::Base.in_place_edit_for, JavascriptHelper#in_place_editor_field, and Javascript support from script.aculo.us #2038 [Jon Tirsen] Moved auto-completion and in-place editing into the Macros module and their helper counterparts into JavaScriptMacrosHelper git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont encourage custom url options to be called with symbol #2047David Heinemeier Hansson2005-09-111-14/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored away all the legacy validate_options calls and replaced them with ↵David Heinemeier Hansson2005-09-091-9/+2
| | | | | | Hash#assert_valid_keys git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for overwrite_params #2146 [Michael Shuerig]David Heinemeier Hansson2005-09-091-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that render :partial would fail when :object was a Hash (due to ↵David Heinemeier Hansson2005-09-091-1/+1
| | | | | | backwards compatibility issues) #2148 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* An explicit include ClassInheritableAttributes is no longer needed #1948 ↵David Heinemeier Hansson2005-09-081-2/+0
| | | | | | [Caleb Tennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid extending view instance with helper modules each request. Closes #1979Nicholas Seckar2005-09-082-18/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance improvements to CGI methods. Closes #1980Nicholas Seckar2005-09-082-9/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Symbolize the keys of overwritten parameters. Really closes #1909.Nicholas Seckar2005-09-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix overwrite params. Closes #1909Nicholas Seckar2005-09-061-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix fragment benchmark calls and limit timings to 5 decimalsDavid Heinemeier Hansson2005-09-062-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only do benchmarking if log level matches and log cachingDavid Heinemeier Hansson2005-09-062-20/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added use_silence parameter to ActiveRecord::Base.benchmark that can be ↵David Heinemeier Hansson2005-09-061-2/+26
| | | | | | passed false to include all logging statements during the benchmark block. Added ActionController::Base.benchmark and ActionController::Base.silence to allow for easy benchmarking and turning off the log git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated vendor copy of html-scanner to support better xml parsingJamis Buck2005-09-052-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use chop! instead of chop! for efficiencyJamis Buck2005-09-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Drop trailing \000 if present on RAW_POST_DATA (works around bug in Safari ↵Jamis Buck2005-09-021-1/+3
| | | | | | Ajax implementation) #918 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AbstractRequest#domain returns nil when host is an ip address #2012 ↵Jamis Buck2005-09-021-0/+2
| | | | | | [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionController documentation update #2051 [fbeausoleil@ftml.net]Jamis Buck2005-09-011-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add option to specify the singular name used by pagination. Closes #1960Nicholas Seckar2005-08-311-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use string key to set action_name for controllers. Closes #1968Nicholas Seckar2005-08-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Upload Progress work with Prototype 1.4.0 and add some documentation ↵David Heinemeier Hansson2005-08-271-0/+52
| | | | | | for it #1847, #1876 [Thomas Fuchs/Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routing to handle :some_param => nil betterNicholas Seckar2005-08-261-3/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for :include with pagination (subject to existing constraints ↵Jamis Buck2005-08-231-11/+22
| | | | | | for :include with :limit and :offset) #1478 [michael@schubert.cx] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prevent the benchmark module from blowing up if a non-HTTP/1.1 request is ↵Jamis Buck2005-08-231-1/+1
| | | | | | processed git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add an :if option to session management, to allow programmatically enabling ↵Jamis Buck2005-08-171-2/+9
| | | | | | or disabling the session git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_redirected_to properly check URL's passed as strings #1910 ↵Jamis Buck2005-08-061-3/+2
| | | | | | [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure :layout => false is always used when rendering inside a layoutJamis Buck2005-08-051-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use raise instead of assert_not_nil in Test::Unit::TestCase#process to ↵Jamis Buck2005-08-011-5/+6
| | | | | | ensure that the test variables (controller, request, response) have been set git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure assigns are built for every request when testing #1866Jamis Buck2005-07-311-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow remote_addr to be queried on TestRequest #1668Jamis Buck2005-07-311-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Really fix the syntax error issueDavid Heinemeier Hansson2005-07-281-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More fixes, but still brokenDavid Heinemeier Hansson2005-07-271-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixing the fix, but not quiteDavid Heinemeier Hansson2005-07-271-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed dynamic scaffolding [Stefan Kaes]David Heinemeier Hansson2005-07-272-6/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed #1774 againDavid Heinemeier Hansson2005-07-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1936 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed unused statementDavid Heinemeier Hansson2005-07-261-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed snag in status reportingDavid Heinemeier Hansson2005-07-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only log status if there is one different from 200 setDavid Heinemeier Hansson2005-07-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed broken error handling #1827 [Stefan Kaes]David Heinemeier Hansson2005-07-251-5/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a catch-all eraserDavid Heinemeier Hansson2005-07-251-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1918 5ecf4fe2-1ee6-0310-87b1-e25e094e27de