Commit Graph

14 Commits

Author SHA1 Message Date
David Heinemeier Hansson a544d7aa37 Added all the HTTP methods as alternatives to the generic "process" for functional testing #276 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@58 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 11:10:46 +00:00
David Heinemeier Hansson 94921293db Added indifference to whether @headers["Content-Type"], @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
2004-12-07 10:50:26 +00:00
David Heinemeier Hansson 7cc27b7b79 Added TestSession#session_id that returns an empty string to make it easier 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
2004-12-06 18:51:04 +00:00
David Heinemeier Hansson 6cc961555d Fixed that cached template loading would still check the file system to see if the file existed #258 [Andreas Schwarz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@43 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 16:10:40 +00:00
David Heinemeier Hansson 005371e16c Added options to tailor header tag, div id, and div class on ActiveRecordHelper#error_messages_for [josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@41 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 13:59:16 +00:00
David Heinemeier Hansson 50f333b203 Added graceful handling of non-alphanumeric names and misplaced brackets in input parameters [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@39 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 12:57:16 +00:00
David Heinemeier Hansson d0c90331f1 Added a new container for cookies that makes them more intuative to use. The 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
2004-11-26 02:04:35 +00:00
David Heinemeier Hansson b62937acbd Added ActionController#cookies[]= as an alias for cookie "name", "value" -- 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
2004-11-26 01:12:46 +00:00
David Heinemeier Hansson bd5985331c Added ActionController#cookies[] as a reader for @cookies that'll return the 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
2004-11-26 01:09:59 +00:00
David Heinemeier Hansson d8207adb5f Added the opportunity to defined method_missing on a controller which will 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
2004-11-25 23:51:46 +00:00
David Heinemeier Hansson 18d614040a Fixed AbstractRequest#remote_ip for users going through proxies - Patch #228 [Eric Hodel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@12 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 16:39:18 +00:00
David Heinemeier Hansson 1042de2370 Added Request#ssl? which is shorthand for @request.protocol == "https://"
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 19:46:30 +00:00
David Heinemeier Hansson e0b904e74f Allow form_tag with no arguments (resulting in a form posting to current action) - Patch #236
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:15:16 +00:00
David Heinemeier Hansson db045dbbf6 Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:04:44 +00:00