aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Fixed regression with Base#reset_session that wouldn't use the the ↵David Heinemeier Hansson2004-12-211-1/+1
| | | | | | DEFAULT_SESSION_OPTIONS [adam@the-kramers.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for automatic layout inclusion #328 [Marcel]David Heinemeier Hansson2004-12-191-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#port_string to get something like ":8080" back on 8080 and "" ↵David Heinemeier Hansson2004-12-182-7/+10
| | | | | | on 80 (or 443 with https). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#domain (returns string) and Request#subdomains (returns array).David Heinemeier Hansson2004-12-181-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added POST support for the breakpoint retries, so form processing that ↵David Heinemeier Hansson2004-12-181-1/+12
| | | | | | raises an exception can be retried with the original request [Florian Gross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.9.1 releaseDavid Heinemeier Hansson2004-12-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug that would cause an ApplicationController to require itself ↵David Heinemeier Hansson2004-12-171-4/+5
| | | | | | three times and hence cause filters to be run three times [evl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the last tweaks before 0.9David Heinemeier Hansson2004-12-161-0/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2004-12-166-29/+63
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now attempt to require a model dependency with ↵David Heinemeier Hansson2004-12-161-0/+12
| | | | | | their name and in a singular attempt for their name. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now search for a layout in ↵David Heinemeier Hansson2004-12-151-1/+15
| | | | | | $template_root/layouts/$controller_name.r(html|xml), so PostsController will look for layouts/posts.rhtml or layouts/posts.rxml and automatically configure this layout if found #307 [Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option of passing false to :module or :controller_prefix in order ↵David Heinemeier Hansson2004-12-132-5/+17
| | | | | | to "break out" of a module or prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved require_association to associations.rb and added methods for resetting ↵David Heinemeier Hansson2004-12-121-0/+4
| | | | | | the inheritable attributes on subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Display error messages on scaffolded form pagesDavid Heinemeier Hansson2004-12-122-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CgiRequest so that it'll now accept session options with Symbols as ↵David Heinemeier Hansson2004-12-122-3/+7
| | | | | | keys (as the documentation points out) [Suggested by Andreas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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