aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that rescue template path shouldn't be hardcoded, then it's easier to ↵David Heinemeier Hansson2006-10-091-1/+1
| | | | | | hook in your own (closes #6295) [mnaberez] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed escaping of backslashes in JavaScriptHelper#escape_javascript (closes ↵David Heinemeier Hansson2006-10-091-1/+1
| | | | | | #6302) [sven@c3d2.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that some 500 rescues would cause 500's themselves because the ↵David Heinemeier Hansson2006-10-091-1/+1
| | | | | | response had not yet been generated #6329 [cmselmer] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that assert_select selects the wrong tag by its contents (closes ↵David Heinemeier Hansson2006-10-091-66/+64
| | | | | | #6332) [jgarber] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation cleanup for rescues (closes #6339) [adam]David Heinemeier Hansson2006-10-091-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #6356)David Heinemeier Hansson2006-10-091-1/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r5515@ks: jeremy | 2006-10-08 13:24:42 -0700Jeremy Kemper2006-10-081-2/+3
| | | | | | | | | #6281 r5516@ks: jeremy | 2006-10-08 13:29:49 -0700 respond_to :html doesn't assume .rhtml. Closes #6281. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* cleanup of local_assigns handling and documentation update (closes #6358) ↵David Heinemeier Hansson2006-10-081-6/+16
| | | | | | [skaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add response to list of deprecated instance variablesJeremy Kemper2006-10-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use instance vars in rescue templates since controller may not be ↵Jeremy Kemper2006-10-022-5/+5
| | | | | | instantiated yet git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed some deprecation warnings in ActionPack [Rick Olson]Rick Olson2006-09-302-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate @responseJeremy Kemper2006-09-297-23/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate @headersJeremy Kemper2006-09-292-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate @cookiesJeremy Kemper2006-09-292-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_select_rjs decodes escaped unicode chars since the Javascript ↵Jeremy Kemper2006-09-291-17/+23
| | | | | | generators encode them. Closes #6240. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: @request will be removed after 1.2. Use the request method instead.Jeremy Kemper2006-09-295-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* modify head so that you can specify a bare status code as the first parameterJamis Buck2006-09-281-5/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActionController::Base#head for rendering empty responses. Add support ↵Jamis Buck2006-09-282-1/+105
| | | | | | for symbolic status codes, as well as for having raw integer statuses expand with their default messages. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug that kept any before_filter except the first one from being able to ↵Rick Olson2006-09-271-5/+4
| | | | | | halt the before_filter chain. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure map.resources(:things, :new => { :new => :any }) correctly sets ↵Jamis Buck2006-09-261-5/+8
| | | | | | /things/new to be accessible by any method rather than creating another resource at /things/new;new git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* strip_links is case-insensitive. Closes #6285.Jeremy Kemper2006-09-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* whitespaceJeremy Kemper2006-09-261-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clear the cache of possible controllers whenever Routes are reloaded.Nicholas Seckar2006-09-231-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Filters overhaul including meantime filter support for around filters. ↵Jeremy Kemper2006-09-221-215/+439
| | | | | | Closes #5949. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just use the vanilla mime type string, no need for fancy lookups [DHH]David Heinemeier Hansson2006-09-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update CGI process to allow sessions to contain namespaced models. Closes #4638.Nicholas Seckar2006-09-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routing to respect user provided requirements and defaults when ↵Nicholas Seckar2006-09-201-8/+27
| | | | | | assigning default routing options (such as :action => 'index'). Closes #5950. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist ↵David Heinemeier Hansson2006-09-201-1/+1
| | | | | | until Rails 2.0 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rescue Errno::ECONNRESET to handle an unexpectedly closed socket connection. ↵Jeremy Kemper2006-09-181-4/+4
| | | | | | Improves SCGI reliability. Closes #3368, closes #6226. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that respond_to blocks will automatically set the content type to be ↵David Heinemeier Hansson2006-09-171-2/+5
| | | | | | the same as is requested [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added proper getters and setters for content type and charset [DHH] Added ↵David Heinemeier Hansson2006-09-175-9/+36
| | | | | | utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]Rick Olson2006-09-161-28/+49
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Declare file extensions exempt from layouts. Closes #6219.Jeremy Kemper2006-09-161-1/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove implicit primary actions - more pain than gain. test collection ↵Jeremy Kemper2006-09-141-9/+0
| | | | | | actions for other http methods. strip whitespace. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add chained replace/update support for assert_select_rjs [Rick Olson]Rick Olson2006-09-141-10/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that formatted routes for all verbs are created. Still needs to ↵David Heinemeier Hansson2006-09-131-15/+19
| | | | | | resolve two failing tests after this refactoring [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load helpers in alphabetical order for consistency. Resolve cyclic ↵Jeremy Kemper2006-09-122-2/+3
| | | | | | javascript_helper dependency. Closes #6132, closes #6178. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip params with empty names, such as the &=Save query string from <input ↵Jeremy Kemper2006-09-121-1/+2
| | | | | | type=submit/>. Closes #2569. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_tag so that :content => "foo" does not match substrings, but only ↵Jamis Buck2006-09-101-1/+1
| | | | | | exact strings. Use :content => /foo/ to match substrings. closes #2799 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split Form.serialize into Form.serialize and Form.serializeElements. The ↵David Heinemeier Hansson2006-09-081-2/+6
| | | | | | latter can be used stand-alone to serialize an array of elements you pass in, instead of the entire form [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We cant make MySQL 5 happy if it means making SQLite and PostgreSQL cry. So ↵David Heinemeier Hansson2006-09-081-1/+1
| | | | | | currently MySQL 5 is not fully supported for Rails when youre using eager loading (closes #6133, #6135). I have contacted MySQL to make them fix http://bugs.mysql.com/bug.php?id=13551 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Since to_sing, we need to check for empty stringDavid Heinemeier Hansson2006-09-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update descriptive messages for exceptions thrown by cgi_methods. Closes #6103.Jeremy Kemper2006-09-081-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add descriptive messages to the exceptions thrown by cgi_methods. Closes #6091.Nicholas Seckar2006-09-071-2/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix loop_on_multiple_args to work, again (not my day), fixes #6078Thomas Fuchs2006-09-071-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ahem, now for realThomas Fuchs2006-09-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix a warning in prototype_helper_test, fixes #6077Thomas Fuchs2006-09-071-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update JavaScriptGenerator#show/hide/toggle/remove to new Prototype syntax ↵Thomas Fuchs2006-09-071-4/+12
| | | | | | for multiple ids, fixes #6068 [petermichaux@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update UrlWriter to support :only_path.Nicholas Seckar2006-09-061-6/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get symbol definitions of methods converted to strings [DHH]David Heinemeier Hansson2006-09-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de