aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Ensure render_to_string cleans up after itself when an exception is raised. ↵Jeremy Kemper2006-11-203-4/+52
| | | | | | Closes #6658. Great tests! git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract template_changed_since? from compile_template? so plugins may ↵Jeremy Kemper2006-11-203-5/+48
| | | | | | override its behavior for non-file-based templates. Closes #6651. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk w/ latest Prototype and script.aculo.usThomas Fuchs2006-11-195-15/+161
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* simple_format helper doesn't choke on nil. Closes #6644.Jeremy Kemper2006-11-193-11/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype in trunk to [5550]Thomas Fuchs2006-11-172-0/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reuse named route helper module between Routing reloads to prevent memory leaks.Nicholas Seckar2006-11-172-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionView::Base.erb_variable accessor names the buffer variable used to ↵Jeremy Kemper2006-11-175-7/+10
| | | | | | render templates. Defaults to _erbout; use _buf for erubis. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Template errors: fix strange deprecation warnings on e.g. @flash.inspect, ↵Jeremy Kemper2006-11-171-42/+66
| | | | | | remove deprecated @assigns, handle sources without a discernable line number, clean up code. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate standalone components.Jeremy Kemper2006-11-163-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ARStore needs a data reader method. Closes #4795.Jeremy Kemper2006-11-151-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove dead abort_tests method.Jeremy Kemper2006-11-151-9/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_select_rjs :removeJeremy Kemper2006-11-153-7/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix failing test fallback when neither SQLite 2 or 3 is available.Jeremy Kemper2006-11-151-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Always clear model associations from session. Closes #4795.Jeremy Kemper2006-11-136-13/+87
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test controller rescuesJeremy Kemper2006-11-135-70/+306
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* silence const_set warningJeremy Kemper2006-11-131-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* update_element_function is deprecatedJeremy Kemper2006-11-131-10/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0_rc2Sam Stephenson2006-11-122-179/+241
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove JavaScriptLiteral in favor of ActiveSupport::JSON::Variable.Sam Stephenson2006-11-112-8/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sync ActionController::StatusCodes::STATUS_CODES with ↵Jeremy Kemper2006-11-112-3/+17
| | | | | | http://www.iana.org/assignments/http-status-codes. Closes #6586. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multipart form values may have a content type without being treated as ↵Jeremy Kemper2006-11-092-37/+47
| | | | | | uploaded files if they do not provide a filename. Closes #6401. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_response supports symbolic status codes. Closes #6569.Jeremy Kemper2006-11-073-11/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache parsed query parameters. Closes #6559.Jeremy Kemper2006-11-062-7/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed pluralize nil test in [5431].Jeremy Kemper2006-11-061-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate JavaScriptHelper#update_element_function, which is superseeded by ↵Thomas Fuchs2006-11-065-99/+72
| | | | | | RJS [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* pluralize helper interprets nil as zero. Closes #6474.Jeremy Kemper2006-11-052-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix invalid test fixture exposed by stricter Ruby 1.8.5 multipart parsing. ↵Jeremy Kemper2006-11-052-0/+2
| | | | | | Closes #6524. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set ActionView::Base.default_form_builder once rather than passing the ↵Jeremy Kemper2006-11-033-3/+36
| | | | | | :builder option to every form or overriding the form helper methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate expire_matched_fragments. Use expire_fragment instead. Closes #6535.Jeremy Kemper2006-11-022-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Consistent default handling in ActionView render. Closes #6534.Jeremy Kemper2006-11-021-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document that expire_fragment with regexp arg fails on memcached and other ↵Jeremy Kemper2006-11-021-1/+6
| | | | | | caches which don't support iteration over all keys. Closes #6291. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to latest Prototype, which doesnt serialize disabled form elements, ↵Thomas Fuchs2006-10-282-5/+13
| | | | | | adds clone() to arrays, empty/non-string Element.update() and adds a fixes excessive error reporting in WebKit beta versions [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix scaffolding from using deprecated :post => true (closes #6499)David Heinemeier Hansson2006-10-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make sure link_to_image is deprecated as well as link_image_toJamis Buck2006-10-241-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use new deprecate syntax so that alternatives are given with the warningJamis Buck2006-10-244-29/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate start_form_tag and end_form_tag. Use form_tag / '</form>' from ↵Rick Olson2006-10-243-0/+32
| | | | | | now on. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added block-usage to PrototypeHelper#form_remote_tag, document block-usage ↵Rick Olson2006-10-247-9/+37
| | | | | | of FormTagHelper#form_tag [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made FormTagHelper#form_tag work with blocks, rendering start/end_form_tag ↵David Heinemeier Hansson2006-10-233-4/+28
| | | | | | deprecated git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added block-usage to TagHelper#content_tag [DHH]David Heinemeier Hansson2006-10-233-7/+47
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #6462)David Heinemeier Hansson2006-10-231-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #6393)David Heinemeier Hansson2006-10-222-81/+124
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecated UrlHelper#link_to_image and UrlHelper#link_to :post => true ↵David Heinemeier Hansson2006-10-223-104/+176
| | | | | | (closes #6409) [BobSilva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* clean up failing routing tests from missing :only_path option [Rick]Rick Olson2006-10-221-11/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Upgraded NumberHelper with number_to_phone support international formats to ↵David Heinemeier Hansson2006-10-223-91/+159
| | | | | | comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) (closes #6421) [BobSilva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that setting RAILS_ASSET_ID to "" should not add a trailing slash ↵David Heinemeier Hansson2006-10-224-7/+18
| | | | | | after assets (closes #6454) [BobSilva/chrismear] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More consistent implementation of filter replacement (thanks Martin! closes ↵Jamis Buck2006-10-211-42/+22
| | | | | | #5949) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5331 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Force *_url named routes to show the host in ActionView [Rick]Rick Olson2006-10-203-2/+63
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for converting blocks into function arguments in ↵Sam Stephenson2006-10-193-13/+65
| | | | | | | | | JavaScriptGenerator#call and JavaScriptProxy#call. Add JavaScriptGenerator#literal for wrapping a string in an object whose #to_json is the string itself. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add <%= escape_once html %> to escape html while leaving any currently ↵Rick Olson2006-10-185-3/+22
| | | | | | escaped entities alone. Fix button_to double-escaping issue. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix double-escaped entities, such as &amp;amp;, &amp;#123;, etc. [Rick]Rick Olson2006-10-183-1/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de