aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* 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
* form.text_area handles the :size option just like the original text_area ↵Jeremy Kemper2006-05-111-0/+5
| | | | | | (: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-091-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4331 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix text_helper.rb documentation rendering. Closes #4725. [Frederick Ros]Marcel Molina2006-04-271-20/+20
| | | | 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-271-4/+5
| | | | | | 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-261-16/+30
| | | | | | 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
* 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-253-29/+59
| | | | | | [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-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update layout and content_for documentation to use yield rather than magic ↵Marcel Molina2006-04-251-15/+17
| | | | | | @content_for instance variables. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4262 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
* Change link_to_function and button_to_function to (optionally) take an ↵Sam Stephenson2006-04-191-5/+25
| | | | | | 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
* Fixed that remote_form_for can leave out the object parameter and default to ↵David Heinemeier Hansson2006-04-161-2/+3
| | | | | | 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
* Fixed that template extensions would be cached development mode #4624 ↵David Heinemeier Hansson2006-04-061-10/+26
| | | | | | [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0_rc0Sam Stephenson2006-04-061-44/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix ruby syntax in comments for the JavascriptGenerator (closes #4577) [Rick]Rick Olson2006-04-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add additional autocompleter options [aballai, Thomas Fuchs]Thomas Fuchs2006-04-021-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Applied Prototype $() performance patches (#4465, #4477) and updated ↵Thomas Fuchs2006-04-013-75/+302
| | | | | | script.aculo.us [Sam Stephenson, Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make asset timestamping safe to use on assets that don't existJamis Buck2006-03-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip complete URLsDavid Heinemeier Hansson2006-03-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added automated timestamping to AssetTagHelper methods for stylesheets, ↵David Heinemeier Hansson2006-03-291-5/+16
| | | | | | javascripts, and images when Action Controller is run under Rails [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed docsDavid Heinemeier Hansson2006-03-282-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed require of bluecloth and redcloth when gems haven't been loaded ↵David Heinemeier Hansson2006-03-271-2/+2
| | | | | | (closes #4446) [murphy@cYcnus.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Speedup for sortable with handles initialization in rails trunk tooThomas Fuchs2006-03-272-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0_pre1Sam Stephenson2006-03-271-5/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionView: Allow to register a Template handler with a Symbol (dont kill ↵David Heinemeier Hansson2006-03-261-1/+1
| | | | | | markaby) (closes #4328) [murphy@cYcnus.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* effects.js and controls.js fixesThomas Fuchs2006-03-262-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* finish form_for change, allow hash as the second param: form_for :post, :url ↵Rick Olson2006-03-261-3/+6
| | | | | | => { }. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change #form_for and #fields_for so that the second argument is not required ↵Rick Olson2006-03-261-2/+2
| | | | | | [Dave Thomas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to script.aculo.us 1.6Thomas Fuchs2006-03-262-180/+248
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix double url escaping of remote_function. Add :escape => false option to ↵Nicholas Seckar2006-03-222-3/+15
| | | | | | ActionView's url_for. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Turn RJS debugging on by default and show the source code when an exception ↵David Heinemeier Hansson2006-03-201-2/+3
| | | | | | is caught [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance speedup for ActionController (closes #4174) [Stefan Kaes] ↵David Heinemeier Hansson2006-03-201-14/+20
| | | | | | Includes caching of filter chains -- be on the lookout for problems with that! git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to String#camelize to generate lower-cased camel case by ↵David Heinemeier Hansson2006-03-201-2/+2
| | | | | | passing in :lower, like "super_man".camelize(:lower) # => "superMan" [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :script option to in_place_editor to support evalScripts (closes #4194) ↵Rick Olson2006-03-191-0/+2
| | | | | | [codyfauser@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix mixed case enumerable methods in the JavaScript Collection Proxy (closes ↵Rick Olson2006-03-191-2/+2
| | | | | | #4314) [codyfauser@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Undo accidental escaping for mail_to; add regression test. Fix incorrect ↵Nicholas Seckar2006-03-191-1/+0
| | | | | | credit in changelog. Closes #4202. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change url_for to escape the resulting URLs when called from a view. Closes ↵Nicholas Seckar2006-03-181-8/+8
| | | | | | #4202 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed XML argument style for respond_to, so type.xml(object.to_xml) no ↵David Heinemeier Hansson2006-03-181-1/+1
| | | | | | longer works -- it wasnt worth the exception git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed UrlHelper#current_page? to behave even when url-escaped entities are ↵David Heinemeier Hansson2006-03-181-1/+1
| | | | | | present (closes #3929) [jeremy@planetargon.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed link_to "somewhere", :post => true to produce valid XHTML by using the ↵David Heinemeier Hansson2006-03-181-1/+1
| | | | | | parentnode instead of document.body for the instant form (closes #3007) [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :function option to PrototypeHelper#observe_field/observe_form that ↵David Heinemeier Hansson2006-03-181-2/+4
| | | | | | allows you to call a function instead of submitting an ajax call as the trigger (closes #4268) [jonathan@daikini.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* trivial documentation patch for #pagination_links [Francois Beausoleil] ↵Rick Olson2006-03-161-1/+1
| | | | | | closes #4258 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dots in template path should not trip up rendering (closes #4244) ↵David Heinemeier Hansson2006-03-161-2/+7
| | | | | | [lmarlow@yahoo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The mere existance of a rjs file shouldnt cause the layout to disappear. ↵David Heinemeier Hansson2006-03-131-2/+11
| | | | | | Made it easier to specify a :with on observer_field git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added simple alert() notifications for RJS exceptions when ↵Sam Stephenson2006-03-132-8/+18
| | | | | | config.action_view.debug_rjs = true. Set debug_rjs = true for the default development environment. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prefer application/xml over text/xml for charset reasonsDavid Heinemeier Hansson2006-03-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de