aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that single quote was not escaped in a UrlHelper#link_to javascript ↵David Heinemeier Hansson2005-03-061-1/+1
| | | | | | confirm #549 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default border on link_image_to (it broke xhtml strict) -- can ↵David Heinemeier Hansson2005-03-061-3/+1
| | | | | | be specified with :border => 0 #517 [?/caleb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that form helpers would treat string and symbol keys differently in ↵David Heinemeier Hansson2005-03-069-174/+201
| | | | | | html_options (and possibly create duplicate entries) #112 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.10.0 releaseDavid Heinemeier Hansson2005-02-251-6/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TimeZone issues in action-pack and active-support #704David Heinemeier Hansson2005-02-231-6/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormOptionsHelper#time_zone_select and ↵David Heinemeier Hansson2005-02-231-2/+55
| | | | | | FormOptionsHelper#time_zone_options_for_select to work with the new value object TimeZone in Active Record #688 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation fix #698David Heinemeier Hansson2005-02-231-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show value when NOT fileDavid Heinemeier Hansson2005-02-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#file_field and FormTagHelper#file_field_tag for creating ↵David Heinemeier Hansson2005-02-232-1/+10
| | | | | | file upload fields git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Afghanistan (no more conspiracy!) to FormOptions#country_select and ↵David Heinemeier Hansson2005-02-191-1/+1
| | | | | | FormOptions#country_options_for_select git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :order option for date_select that allows control over the order in ↵David Heinemeier Hansson2005-02-191-13/+24
| | | | | | which the date dropdowns is used and which of them should be used #619 [Tim Bates] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionView::Base.register_template_handler for easy integration of an ↵David Heinemeier Hansson2005-02-191-15/+42
| | | | | | alternative template language to ERb and Builder. See test/controller/custom_handler_test.rb for a usage example #656 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* One comma too muchDavid Heinemeier Hansson2005-02-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added AssetTagHelper that provides methods for linking a HTML page together ↵David Heinemeier Hansson2005-02-191-0/+59
| | | | | | with other assets, such as javascripts, stylesheets, and feeds. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Completed FormTagHelper by adding radio_button_tag and select_tagDavid Heinemeier Hansson2005-02-191-1/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormTagHelper that provides a number of methods for creating form tags ↵David Heinemeier Hansson2005-02-192-26/+62
| | | | | | that doesn't rely on conventions with an object assigned to the template like FormHelper does. With the FormTagHelper, you provide the names and values yourself. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Iran and Irak to the countries list used by FormOptions#country_select ↵David Heinemeier Hansson2005-02-191-2/+10
| | | | | | and FormOptions#country_options_for_select git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made auto_link the only public method of its clan and added an option to ↵David Heinemeier Hansson2005-02-191-16/+23
| | | | | | control what to be linked instead git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Iran and Irak to the countries list used by country_select and ↵David Heinemeier Hansson2005-02-191-1/+4
| | | | | | country_options_for_select git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed link_to_image to link_image_to (since thats what it actually does) ↵David Heinemeier Hansson2005-02-191-6/+15
| | | | | | -- kept alias for the old method name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use per-document setting for hardbreaks on textileDavid Heinemeier Hansson2005-02-191-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed textilize for RedCloth3 to keep doing hardbreaksDavid Heinemeier Hansson2005-02-191-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#auto_link, TextHelper#auto_link_urls, and ↵David Heinemeier Hansson2005-02-181-0/+18
| | | | | | TextHelper#auto_link_email_addresses to turn those elements into ahrefs git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation on :include_blank #579David Heinemeier Hansson2005-02-171-0/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added current_page?(options) method to check if the url_for options passed ↵David Heinemeier Hansson2005-02-171-1/+6
| | | | | | corresponds to the current page git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplified link_to_unless_current to work with the new RoutingDavid Heinemeier Hansson2005-02-171-24/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation snafus #575, #576, #577, #585David Heinemeier Hansson2005-02-075-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the ordering of attributes in the xml-decleration of Builder #540 [woeye]David Heinemeier Hansson2005-01-251-6/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Applied the dblack patchDavid Heinemeier Hansson2005-01-241-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :encode option to mail_to that'll allow you to masquarede the email ↵David Heinemeier Hansson2005-01-241-1/+28
| | | | | | address behind javascript or hex encoding #494 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed no-binding fragment cachingDavid Heinemeier Hansson2005-01-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the need for passing the binding when using CacheHelper#cacheDavid Heinemeier Hansson2005-01-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option of passing a block to ActiveRecordHelper#form in order to ↵David Heinemeier Hansson2005-01-152-5/+11
| | | | | | add more to the auto-generated form #469 [dom@sisna.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated to new naming styleDavid Heinemeier Hansson2005-01-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added fourth argument to render_collection_of_partials that allows you to ↵David Heinemeier Hansson2005-01-111-2/+2
| | | | | | specify local_assigns -- just like render_partial #432 [zenspider] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that form helpers now take an index option #448 [Tim Bates]David Heinemeier Hansson2005-01-101-2/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated caching to include action caching as well and simplified the ↵David Heinemeier Hansson2005-01-101-1/+2
| | | | | | name/key reference to just be name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at page and fragment cachingDavid Heinemeier Hansson2005-01-081-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the possibility of passing nil to UrlHelper#link_to to use the link ↵David Heinemeier Hansson2005-01-051-5/+8
| | | | | | itself as the name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added DateHelper#select_time and DateHelper#select_second #373 [Scott Baron]David Heinemeier Hansson2005-01-021-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@311 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed UrlHelper#link_to_unless so it doesn't care if the id is a string or ↵David Heinemeier Hansson2004-12-222-4/+5
| | | | | | fixnum [zenspider] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed error rendering of rxml documents to not just swallow the exception ↵David Heinemeier Hansson2004-12-211-8/+7
| | | | | | and return 0 (still not guessing the right line, but hey) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* FormHelper should only use *_before_type_cast if they available on the modelDavid Heinemeier Hansson2004-12-191-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that textilize and markdown would instantiate their engines even on ↵David Heinemeier Hansson2004-12-191-2/+2
| | | | | | empty strings. This also fixes #333 [Ulysses] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added respondence to *_before_type_cast for all attributes to return their ↵David Heinemeier Hansson2004-12-192-7/+9
| | | | | | string-state before they were type casted by the column type. Added use of *_before_type_cast for all input and text fields. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2004-12-165-15/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed DateHelper#date_select so that you can pass include_blank as an option ↵David Heinemeier Hansson2004-12-151-1/+2
| | | | | | even if you don't use start_year and end_year #59 [what-a-day] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de