aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Fixed CgiRequest#out to fall back to #write if doesn't have #syswrite ↵David Heinemeier Hansson2004-12-121-4/+10
| | | | | | [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with cookies not being set to path=/ by default and a test ↵David Heinemeier Hansson2004-12-101-2/+3
| | | | | | buggerboo git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added breakpoint retries on rescue screensDavid Heinemeier Hansson2004-12-092-0/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We need to pass the name when deleting the cookieDavid Heinemeier Hansson2004-12-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@93 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CookieJar#delete and fixed CookieJar[] to just call first, so you get ↵David Heinemeier Hansson2004-12-091-1/+6
| | | | | | a string instead of an array back. This limits each cookie to one value, which I consider a mighty fine restriction git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@92 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Killed the out of place alias and made sure you can use the different HTTP ↵David Heinemeier Hansson2004-12-081-6/+5
| | | | | | methods within the same testaction git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@80 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@72 ↵David Heinemeier Hansson2004-12-071-12/+13
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the possibility of having validate be protected for ↵David Heinemeier Hansson2004-12-071-2/+2
| | | | | | assert_(in)valid_column #263 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@67 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that ActiveRecordHelper#form now calls url_for on the :action option.David Heinemeier Hansson2004-12-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@62 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug with the HEAD stuffDavid Heinemeier Hansson2004-12-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@61 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the Inflector to handle the movie/movies pair correctly #261 [Scott Baron]David Heinemeier Hansson2004-12-071-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@60 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added all the HTTP methods as alternatives to the generic "process" for ↵David Heinemeier Hansson2004-12-071-1/+14
| | | | | | functional testing #276 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@58 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added indifference to whether @headers["Content-Type"], ↵David Heinemeier Hansson2004-12-072-4/+13
| | | | | | @headers["Content-type"], or @headers["content-type"] is used. Added proper handling of HEAD requests, so that content isnt returned (Request#head? added as well) #277 [Eric Hodel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@57 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TestSession#session_id that returns an empty string to make it easier ↵David Heinemeier Hansson2004-12-061-0/+4
| | | | | | to functional test applications that doesn't use cookie-based sessions #275 [jcf] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@52 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Syntax errors and other exceptions thrown outside of an action are now ↵David Heinemeier Hansson2004-12-066-37/+34
| | | | | | gracefully handled by the dispatcher git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful handling of non-alphanumeric names and misplaced brackets in ↵David Heinemeier Hansson2004-12-011-16/+14
| | | | | | input parameters [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@39 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved the global require_* out of the classes so they actually work without ↵David Heinemeier Hansson2004-11-301-2/+4
| | | | | | stack overflows git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@33 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Abolished ActionController::Base.require_or_load in favor of ↵David Heinemeier Hansson2004-11-303-3/+5
| | | | | | require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass on the original exceptionDavid Heinemeier Hansson2004-11-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@30 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A change in attempt to combat periodical errors with FCGI processes hanging ↵David Heinemeier Hansson2004-11-301-0/+1
| | | | | | for a long time before returning the response git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@29 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silenced warnings from reloading filesDavid Heinemeier Hansson2004-11-302-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@28 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@26 ↵David Heinemeier Hansson2004-11-261-1/+1
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle empty cookie jars gracefully -- dont pout!David Heinemeier Hansson2004-11-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@25 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed CookieContainer to CookieJar to be cute. Its a private container ↵David Heinemeier Hansson2004-11-261-2/+2
| | | | | | anyway, so what do you care? git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@24 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Report to logger when a cookie is setDavid Heinemeier Hansson2004-11-261-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@23 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow symbols to be used as names for setting cookiesDavid Heinemeier Hansson2004-11-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@22 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow symbols to be used as keys for setting cookiesDavid Heinemeier Hansson2004-11-261-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@21 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a new container for cookies that makes them more intuative to use. The ↵David Heinemeier Hansson2004-11-262-27/+66
| | | | | | old methods of cookie and @cookies have been deprecated. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@20 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController#cookies[]= as an alias for cookie "name", "value" -- ↵David Heinemeier Hansson2004-11-261-2/+8
| | | | | | youll still need to use the latter if you have options to set. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@19 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController#cookies[] as a reader for @cookies that'll return the ↵David Heinemeier Hansson2004-11-261-4/+5
| | | | | | value of the cookie instead of the cookie object itself. NOTE: If you were using the old accessor, this could potentially break your code -- if you expect a full cookie object! git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@18 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the opportunity to defined method_missing on a controller which will ↵David Heinemeier Hansson2004-11-251-1/+1
| | | | | | handle all requests for actions not otherwise defined #223 [timb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@15 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed AbstractRequest#remote_ip for users going through proxies - Patch #228 ↵David Heinemeier Hansson2004-11-251-9/+9
| | | | | | [Eric Hodel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@12 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#ssl? which is shorthand for @request.protocol == "https://"David Heinemeier Hansson2004-11-241-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-2437-0/+3255
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de