aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Ruby 1.9 compat: move from the deprecated Base64 module to ↵Jeremy Kemper2007-12-183-15/+11
| | | | | | ActiveSupport::Base64. Closes #10554. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added delete_via_redirect and put_via_redirect to integration testing ↵David Heinemeier Hansson2007-12-171-13/+28
| | | | | | (closes #10497) [philodespotos] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow headers[Accept] to be set by hand when calling xml_http_request ↵David Heinemeier Hansson2007-12-171-1/+1
| | | | | | (closes #10461) [BMorearty] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added OPTIONS to list of default accepted HTTP methods (closes #10449) [holoway]David Heinemeier Hansson2007-12-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix doc (closes #10526)David Heinemeier Hansson2007-12-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: helpersJeremy Kemper2007-12-151-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: account for new, non-flattening Array#to_sJeremy Kemper2007-12-151-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: cookiesJeremy Kemper2007-12-151-5/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove missing default helper warningsJeremy Kemper2007-12-151-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce (in /Users/jeremy/rails/git/trunk) to output a crytographically ↵Jeremy Kemper2007-12-151-0/+3
| | | | | | secure secret key for use with cookie sessions. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #10429) [jamesh/ssoroka]David Heinemeier Hansson2007-12-141-9/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the routes rake task more discoverable but documenting it in the ↵Marcel Molina2007-12-131-0/+4
| | | | | | routing documentation. Closes #10478 [dancroak] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Explain how the layout macro behaves when passed a path that contains a ↵Marcel Molina2007-12-131-1/+2
| | | | | | directory. Closes #10492 [loincloth] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More Action View refactoring. Knock :erb default down a notch. Closes #10455.Jeremy Kemper2007-12-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 ↵Jeremy Kemper2007-12-102-3/+3
| | | | | | [Pratik Naik] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix strange NoMemoryError on amd64. Closes #10442 [wrb]Jeremy Kemper2007-12-101-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document how to disable forgery protection for tests. Useful note for those ↵Jeremy Kemper2007-12-101-1/+7
| | | | | | upgrading from 1.x. Closes #10440 [Trevor Turk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix doc typo on Dispatcher.dispatch. Closes #10434 [fxn]Jeremy Kemper2007-12-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render :xml and :json preserve custom content types. Closes #10388.Jeremy Kemper2007-12-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix DoubleRenderError message and leave out mention of returning false from ↵Rick Olson2007-12-081-1/+1
| | | | | | filters. Closes #10380 [fcheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up some cruft around ActionController::Base#head. Closes #10417 [ssoroka]Rick Olson2007-12-081-12/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ignore illegal seeks on body rewind. Catches CGI errors depending on your ↵Jeremy Kemper2007-12-071-1/+7
| | | | | | httpd. Closes #10404 [Curtis Hawthorne] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed send_file/binary_content for testing (closes #8044) [tolsen]David Heinemeier Hansson2007-12-051-7/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adding missing space to documentation of the layout method. Closes #7126 ↵Marcel Molina2007-12-051-1/+1
| | | | | | [orangechicken, jeremymcanally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add example of redirect_to that uses a named route. Closes #7149 [stevenbristol]Marcel Molina2007-12-051-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct example for path parameters to use strings as keys in the hash ↵Marcel Molina2007-12-051-2/+3
| | | | | | rather than symbols. Closes #7160 [akaspick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enhance documentation coverage for fragment caching. Closes #7315 [bscofield]Marcel Molina2007-12-051-14/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typos (closes #10378)David Heinemeier Hansson2007-12-055-10/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add many examples to assertion documentation. Closes #7803 [jeremymcanally]Marcel Molina2007-12-054-37/+128
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add examples in the documentation for various assertions. Closes #9938 [zapnap]Marcel Molina2007-12-053-5/+48
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* When a NonInferrableControllerError is raised, make the proposed fix clearer ↵Marcel Molina2007-12-051-1/+1
| | | | | | in the error message. Closes #10199 [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8283 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed some of the tags that does not make sense to allow per default in ↵David Heinemeier Hansson2007-12-041-2/+2
| | | | | | the whitelist git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that verification violations with no specified action didn't halt the ↵David Heinemeier Hansson2007-11-301-6/+15
| | | | | | chain (now they do with a 400 Bad Request) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure assert_select_rjs gets counted, Closes #10278 [tarmo]Michael Koziarski2007-11-291-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise UnknownHttpMethod exception for unknown HTTP methods. Closes #10303 ↵Rick Olson2007-11-292-12/+23
| | | | | | [tarmo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* correct confusing commentsMichael Koziarski2007-11-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure the optimisation code for routes doesn't get used if :host, ↵Michael Koziarski2007-11-281-1/+1
| | | | | | :anchor or :port are provided in the hash arguments. [pager, Koz] Closes #10292 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added protection from trailing slashes on page caching (closes #10229) ↵David Heinemeier Hansson2007-11-281-1/+1
| | | | | | [devrieda] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed to_s bug with namespace routes (closes #10283) [johnb]David Heinemeier Hansson2007-11-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Minor inconsistency in description of render example. Closes #10029 ↵Marcel Molina2007-11-261-2/+2
| | | | | | [ScottSchram] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add #prepend_view_path and #append_view_path instance methods on ↵Rick Olson2007-11-261-3/+22
| | | | | | ActionController::Base for consistency with the class methods. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor sanitizer helpers into HTML classes and make it easy to swap them ↵Rick Olson2007-11-262-0/+174
| | | | | | out with custom implementations. Closes #10129. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that named routes living under resources shouldn't have double slashes ↵David Heinemeier Hansson2007-11-251-1/+1
| | | | | | (closes #10198) [isaacfeliu] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve error messages when providing a secret that is too short. Closes ↵Michael Koziarski2007-11-241-4/+5
| | | | | | #10238 [Henrik N] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document that the cookie store is the default session store. Mention the ↵Jeremy Kemper2007-11-222-8/+17
| | | | | | memcached store. Closes #10241 [Josh Susser, Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that cookie sessions use a secret that is at least 30 chars in ↵Michael Koziarski2007-11-211-3/+17
| | | | | | length. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Emphasize the importance of a dictionary attack-proof secret for the cookie ↵David Heinemeier Hansson2007-11-211-1/+4
| | | | | | store git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor cookie_only option to survive multiple requests and add regression ↵Michael Koziarski2007-11-211-3/+7
| | | | | | tests. References #10048. [theflow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that the routing optimisation code isn't used when additional ↵Michael Koziarski2007-11-201-4/+10
| | | | | | arguments are passed to the named route. Closes #10209 [bscofield, Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unnecessary route reload in integration tests, obsoleted by [7676]. ↵Michael Koziarski2007-11-191-1/+0
| | | | | | Closes #10094. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de