aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* follow_redirect doesn't complain about being redirected to the same ↵Jeremy Kemper2006-05-223-9/+44
| | | | | | controller. Closes #5153. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change the request.env example in AC::Base docs to a var that exists ↵Jeremy Kemper2006-05-171-3/+3
| | | | | | (REMOTE_IP doesn't) and isn't already wrapped by a request method (i.e. request.remote_ip). Closes #5113. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add layout attribute to response object with the name of the layout that was ↵Marcel Molina2006-05-174-1/+55
| | | | | | rendered, or nil if none rendered. [Kevin Clark kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* performance enhancement for previous patch [skaes]Michael Koziarski2006-05-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix NoMethodError when parsing params like &&. [Adam Greenfield]. Closes #4955Michael Koziarski2006-05-163-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix flip flopped logic in docs for url_for's :only_path option. Closes ↵Marcel Molina2006-05-142-1/+3
| | | | | | #4998. [esad@esse.at] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* form.text_area handles the :size option just like the original text_area ↵Jeremy Kemper2006-05-113-0/+14
| | | | | | (:size => '60x10' becomes cols="60" rows="10") git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Excise ingrown code from FormOptionsHelper#options_for_select. Closes #5008.Jeremy Kemper2006-05-093-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4331 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Small fix in routing to allow dynamic routes (broken after [4242]) [Rick]Rick Olson2006-04-303-3/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Integration Session methods for PUT and DELETE requests [Rick]Rick Olson2006-04-301-7/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace alias method chaining with Module#alias_method_chain. [Marcel Molina ↵Marcel Molina2006-04-2911-43/+23
| | | | | | Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace Ruby's deprecated append_features in favor of included. [Marcel ↵Marcel Molina2006-04-299-21/+13
| | | | | | Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert unintential change to filter parametersMarcel Molina2006-04-291-18/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4308 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update READMEMarcel Molina2006-04-292-21/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use #flush between switching from #write to #syswrite. Closes #4907. [Blair ↵Marcel Molina2006-04-292-0/+5
| | | | | | Zajac <blair@orcaware.com>] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation fix: integration test scripts don't require integration_test. ↵Marcel Molina2006-04-272-2/+2
| | | | | | Closes #4914. [Frederick Ros <sl33p3r@free.fr>] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionController::Base Summary documentation rewrite. Closes #4900. ↵Marcel Molina2006-04-273-68/+54
| | | | | | [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix text_helper.rb documentation rendering. Closes #4725. [Frederick Ros]Marcel Molina2006-04-272-20/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixes bad rendering of JavaScriptMacrosHelper rdoc (closes #4910) [Frederick ↵Rick Olson2006-04-272-4/+7
| | | | | | Ros] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow error_messages_for to report errors for multiple objects, as well as ↵Marcel Molina2006-04-263-17/+85
| | | | | | support for customizing the name of the object in the error summary header. Closes #4186. [andrew@redlinesoftware.com, Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enhance documentation for setting headers in integration tests. Skip auto ↵Marcel Molina2006-04-262-4/+12
| | | | | | HTTP prepending when its already there. Closes #4079. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation for AbstractRequest. Closes #4895. [kevin.clark@gmail.com]Marcel Molina2006-04-262-3/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix documentation indentationMarcel Molina2006-04-261-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor various InstanceTag instance method to class methods. Closes #4800. ↵Marcel Molina2006-04-254-29/+61
| | | | | | [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove all remaining references to @params in the documentation.Marcel Molina2006-04-257-10/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add documentation for redirect_to :back's RedirectBackError exception.Marcel Molina2006-04-252-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update layout and content_for documentation to use yield rather than magic ↵Marcel Molina2006-04-254-21/+27
| | | | | | @content_for instance variables. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_redirected_to tests according to real-world usage.Rick Olson2006-04-253-11/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* only require redcloth/bluecloth if they are not already loaded [Rick]Rick Olson2006-04-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache CgiRequest#request_parameters so that multiple calls don't re-parse ↵Rick Olson2006-04-232-5/+8
| | | | | | multipart data. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Diff compared routing options. Allow #assert_recognizes to take a second ↵Rick Olson2006-04-232-5/+27
| | | | | | arg as a hash to specify optional request method [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow -'s in tag names for html scanner when scanning AR xml documentsRick Olson2006-04-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use ActiveSupport's String#join methodRick Olson2006-04-221-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Diff compared options with #assert_redirected_to [Rick]Rick Olson2006-04-225-37/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* reset TestRequest#parameters after assigning paramtersRick Olson2006-04-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* restore some commented linesJamis Buck2006-04-211-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix to ';' interpretation in route recognition--only follow a route with ';' ↵Jamis Buck2006-04-212-16/+22
| | | | | | if the segment in question actually contains a ';' git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support in routes for semicolon delimited "subpaths", like ↵Jamis Buck2006-04-214-16/+151
| | | | | | /books/:id;:action git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change link_to_function and button_to_function to (optionally) take an ↵Sam Stephenson2006-04-193-5/+42
| | | | | | update_page block instead of a JavaScript string. Closes #4804. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Its 2006, not 2005David Heinemeier Hansson2006-04-161-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that remote_form_for can leave out the object parameter and default to ↵David Heinemeier Hansson2006-04-162-2/+5
| | | | | | the instance variable of the object_name, just like form_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Modify routing so that you can say :require => { :method => :post } for a ↵Jamis Buck2006-04-132-5/+14
| | | | | | route, and the route will never be selected unless the request method is POST. Only works for route recognition, not for route generation. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Aras RubyForge uploaderDavid Heinemeier Hansson2006-04-091-111/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :add_headers option to verify which merges a hash of name/value pairs ↵Sam Stephenson2006-04-083-4/+13
| | | | | | into the response's headers hash if the prerequisites cannot be satisfied git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController.filter_parameter_logging that makes it easy to remove ↵David Heinemeier Hansson2006-04-073-1/+95
| | | | | | passwords, credit card numbers, and other sensitive information from being logged when a request is handled #1897 [jeremye@bsa.ca.gov] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Not all file systems are case sensitive. Things like 'rake gem' were failingScott Barron2006-04-071-1/+1
| | | | | | | on such file systems because the Rakefile listed 'rakefile'. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that template extensions would be cached development mode #4624 ↵David Heinemeier Hansson2006-04-062-10/+28
| | | | | | [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update versions for Rails 1.1.1David Heinemeier Hansson2006-04-063-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0_rc0Sam Stephenson2006-04-062-44/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Do filter condition lookup against the actual hashMarcel Molina2006-04-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de