aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Backed out of locals hash as it caused trouble with Builder, see ticket for moreDavid Heinemeier Hansson2006-09-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavaScriptHelper#link_to_function and ↵David Heinemeier Hansson2006-09-061-2/+11
| | | | | | JavaScriptHelper#button_to_function to have the script argument be optional [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* caller is necessary for proper trace in deprecationDavid Heinemeier Hansson2006-09-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to script.aculo.us 1.6.3 [Thomas Fuchs]Thomas Fuchs2006-09-053-55/+118
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5015 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0_rc1Sam Stephenson2006-09-051-126/+353
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added access to nested attributes in RJS (closes #4548) [richcollins@gmail.com]David Heinemeier Hansson2006-09-041-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that AssetTagHelper#image_tag and others using compute_public_path ↵David Heinemeier Hansson2006-09-041-0/+1
| | | | | | should not modify the incoming source argument (closes #5102) [eule@space.ch] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expose more options of inplace_editor (but its still going plugin with v2.0) ↵David Heinemeier Hansson2006-09-041-1/+5
| | | | | | (closes #5103) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecated the auto-appending of .png to AssetTagHelper#image_tag calls that ↵David Heinemeier Hansson2006-09-041-0/+8
| | | | | | doesn't have an extension [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added locals hash to partials, which makes for convenient access of some ↵David Heinemeier Hansson2006-09-041-1/+1
| | | | | | times available/some times not variables (closes #5491) [wbruce@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed FormOptionsHelper#select to respect :selected value (closes #5813)David Heinemeier Hansson2006-09-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TextHelper#simple_format to deal with multiple single returns within a ↵David Heinemeier Hansson2006-09-041-1/+1
| | | | | | single paragraph (closes #5835) [moriq@moriq.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TextHelper#pluralize to handle 1 as a string (closes #5905) ↵David Heinemeier Hansson2006-09-041-1/+1
| | | | | | [rails@bencurtis.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved resolution of DateHelper#distance_of_time_in_words for better ↵David Heinemeier Hansson2006-09-041-21/+45
| | | | | | precision (closes #5994) [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added deprecation language for in_place_editor and auto_complete_field that ↵David Heinemeier Hansson2006-09-031-0/+10
| | | | | | both pieces will become plugins by Rails 2.0 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* radio_button_tag generates unique id attributes. Closes #3353.Jeremy Kemper2006-09-031-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* strip_tags returns nil for a blank arg such as nil or "". Closes #2229.Jeremy Kemper2006-09-031-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* button_to accepts :method so you can PUT and DELETE with it. Closes #6005.Jeremy Kemper2006-09-031-7/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update sanitize text helper to strip plaintext tags, and <img ↵Rick Olson2006-09-031-3/+3
| | | | | | src=javascript:bang>. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docs for js linkers (closes #5948)David Heinemeier Hansson2006-09-021-1/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: update docs. Closes #5998.Jeremy Kemper2006-09-011-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make auto_link parse a greater subset of valid url formats.Jamis Buck2006-09-021-13/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tighten rescue clauses. Closes #5985.Jeremy Kemper2006-08-313-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Keep onsubmit around for form_remote_forDavid Heinemeier Hansson2006-08-291-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reload should take options for the replaceDavid Heinemeier Hansson2006-08-291-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated trunk to script.aculo.us 1.6.2Thomas Fuchs2006-08-153-44/+69
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate direct usage of @params. Update ActionView::Base for instance var ↵Jeremy Kemper2006-08-071-1/+2
| | | | | | deprecation. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for the param_name parameter to the auto_complete_field helper. ↵Thomas Fuchs2006-08-071-0/+1
| | | | | | Fixes #5026 [david.a.williams@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added months and years to the resolution of ↵David Heinemeier Hansson2006-08-051-5/+9
| | | | | | DateHelper#distance_of_time_in_words, such that "60 days ago" becomes "2 months ago" (closes #5611) [pjhyett@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow form_for and fields_for to work with indexed form inputs. [Jeremy ↵Rick Olson2006-07-181-1/+5
| | | | | | Kemper, Matt Lyon] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get rid of constant redefinition warnings when running AP testsMarcel Molina2006-07-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide support for decimal columns to form helpers. Closes #5672. ↵Marcel Molina2006-07-131-1/+1
| | | | | | [dave@pragprog.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update documentation for erb trim syntax. Closes #5651.Jeremy Kemper2006-07-091-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4598 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4487@asus: jeremy | 2006-04-29 12:21:39 -0700Jeremy Kemper2006-07-082-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check whether @flash is defined? for warnings-safety. r4488@asus: jeremy | 2006-04-29 12:23:15 -0700 Check whether @flash is defined? for warnings-safety. Obviates nil? check. r4489@asus: jeremy | 2006-04-29 12:45:18 -0700 Check whether @session is defined? for warnings-safety. r4490@asus: jeremy | 2006-04-29 12:50:41 -0700 Check whether @rendering_runtime is defined? for warnings-safety. r4491@asus: jeremy | 2006-04-29 12:55:01 -0700 Check whether @_cycles is defined? for warnings-safety. r4492@asus: jeremy | 2006-04-29 12:59:19 -0700 Check whether instance variables are defined? for warnings-safety. r4493@asus: jeremy | 2006-04-29 13:14:09 -0700 Add nil @template to PrototypeHelperTest to suppress unitialized instance variable warning. r4494@asus: jeremy | 2006-04-29 13:31:34 -0700 Check whether @auto_index defined? for warnings-safety. r4495@asus: jeremy | 2006-04-29 13:32:24 -0700 Wrap content_columns redefinitions with silence_warnings. r4496@asus: jeremy | 2006-04-29 13:35:28 -0700 Wrap more redefinitions with silence_warnings. r4829@asus: jeremy | 2006-07-08 10:59:20 -0700 abstract unit, fix warnings r4830@asus: jeremy | 2006-07-08 11:06:12 -0700 Use parens to silence warning. r4831@asus: jeremy | 2006-07-08 11:06:48 -0700 Use parens to silence warning. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass :id => nil or :class => nil to error_messages_for to supress that html ↵Jeremy Kemper2006-07-081-3/+13
| | | | | | attribute. Closes #3586. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* text_field_with_auto_complete stylesheet uses <style type="text/css"> ↵Jeremy Kemper2006-07-051-2/+1
| | | | | | instead of bare <style>. Closes #5610. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that real files and symlinks should be treated the same when compiling ↵David Heinemeier Hansson2006-07-051-1/+2
| | | | | | templates (closes #5438) [zachary@panandscan.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixesDavid Heinemeier Hansson2006-07-051-40/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added special case for "1 Byte" in NumberHelper#number_to_human_size (closes ↵David Heinemeier Hansson2006-07-051-1/+1
| | | | | | #5593) [murpyh@rubychan.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing method_key.Jeremy Kemper2006-06-301-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Retain symbol method key and assign_method_name.Jeremy Kemper2006-06-291-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4732@asus: jeremy | 2006-06-29 13:51:32 -0700Jeremy Kemper2006-06-291-1/+4
| | | | | | | Chop RAILS_ROOT from file path for readability. Preserve non-alphanumeric characters for uniqueness. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4514 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4730@asus: jeremy | 2006-06-29 13:13:38 -0700Jeremy Kemper2006-06-291-29/+15
| | | | | | | Avoid naming collision among compiled view methods. Back out AM workaround. References #5520. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix in auto_complete_result documentation. closes #5096. [medlar@medlar.it]Rick Olson2006-06-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix strip_links so that it doesn't hang on multi-line acronym tagsJamis Buck2006-06-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, ↵David Heinemeier Hansson2006-05-292-1/+13
| | | | | | PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :method handling for other verbs to remote_form_tag and ↵David Heinemeier Hansson2006-05-283-5/+5
| | | | | | remote_form_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expanded :method option in FormHelper#form_tag to allow for verbs other than ↵David Heinemeier Hansson2006-05-281-3/+18
| | | | | | GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :method option to UrlHelper#link_to, which allows for using other ↵David Heinemeier Hansson2006-05-281-13/+27
| | | | | | verbs than GET for the link. This replaces the :post option, which is now deprecated. Example: link_to "Destroy", person_url(:id => person), :method => :delete [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de