aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Removed Array#safe_join in AS core_ext and moved it to a view helper ↵José Valim2011-02-103-42/+20
| | | | | | | | with the same same." Applied the wrong version. This reverts commit 98c0c5db50a7679b3d58769ac22cb0a27a62c930.
* Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-103-20/+42
| | | | the same same.
* reduce string append funcallsAaron Patterson2011-02-081-3/+3
|
* Use Mime::Type references.José Valim2011-02-082-3/+3
|
* Ensure render is case sensitive even on systems with case-insensitive ↵José Valim2011-02-081-3/+12
| | | | | | filesystems. This fixes CVE-2011-0449
* Be sure to javascript_escape the email address to prevent apostrophes ↵Michael Koziarski2011-02-081-5/+6
| | | | | | inadvertently causing javascript errors. This fixes CVE-2011-0446
* fields_for with inline blocks and nested attributes already persisted does ↵Santiago Pastorino2011-02-081-10/+7
| | | | | | not render properly [#6381 state:committed]
* put authenticity_token option in parity w/ remoteDan Pickett2011-02-061-4/+5
| | | | | | [#6228 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Added tests for form_for and an authenticity_token option. Added docs for ↵Timothy N. Tsvetkov2011-02-051-0/+18
| | | | | | | | for_for and authenticity_token option. Added section to form helpers guide about forms for external resources and new authenticity_token option for form_tag and form_for helpers. [#6228 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* removing generation of id in submit helperFranco Brusatti2011-02-031-1/+1
| | | | | | [#6369 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Allow customization of form class for button_toAndrei Bocan2011-02-011-3/+13
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* auto_link: avoid recognizing full width chars as a part of URI schemeAkira Matsuda2011-02-011-1/+1
| | | | | | | | fixes regression by http://github.com/rails/rails/commit/133ada6ab0f0cb7bef2bd40dbc18f2d5bc6b964e [#5503 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Accept String value for render_partial :as optionAkira Matsuda2011-02-012-3/+3
| | | | | | [#6222 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Solve SystemStackError when changing locale inside ActionMailer [#5329 ↵José Valim2011-01-191-2/+2
| | | | state:resolved]
* Merge branch 'template_error' into mergeAaron Patterson2011-01-181-4/+1
|\ | | | | | | | | | | * template_error: Ensure original exception message is present in both Template::Error#message and Template::Error#inspect. ActiveSupport::Deprecation.silence no longer needed.
| * Ensure original exception message is present in both Template::Error#message ↵John Firebaugh2010-10-291-4/+1
| | | | | | | | | | | | and Template::Error#inspect. Previously, #inspect would produce #<ActionView::Template::Error: ActionView::Template::Error>, which is not very useful.
| * ActiveSupport::Deprecation.silence no longer needed.John Firebaugh2010-10-291-1/+1
| |
* | Issue one Cache#read command instead of two in the case of a fragment cache hitChristos Trochalakis2011-01-181-2/+2
| |
* | minitest added @__io__, so we should ignore it tooAaron Patterson2011-01-171-0/+1
| |
* | button_tag should escape it contentSantiago Pastorino2011-01-121-1/+1
| |
* | Reuse the view_context from the controller, this make the test environment ↵Santiago Pastorino2011-01-121-4/+1
| | | | | | | | more similar to the code applications uses
* | Allow view in AV::TestCase to access it's controller helpers methodsSantiago Pastorino2011-01-121-0/+1
| |
* | authenticity_token option for form_tag [#2988 state:resolved]Jakub Kuźma2011-01-091-5/+17
| |
* | Improve select helpers by allowing a selected value of false. This is ↵John Allison2011-01-091-1/+1
| | | | | | | | useful when using a select helper with a boolean attribute, and the attribute is false. (e.g. f.select :allow_comments)
* | HTML5 button_tag helperRizwan Reza2011-01-091-0/+50
| | | | | | | | | | | | | | | | This tag is similar in nature to submit_tag, but allows more control. It also doesn't submit if submit type isn't used, allowing JavaScript to control the flow where required. For more information: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element
* | Remove InstanceTagMethods module and define the methods inside the ↵Santiago Pastorino2011-01-091-7/+2
| | | | | | | | InstanceTag class
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-292-11/+11
|\ \
| * | .erb => .html.erbAkira Matsuda2010-12-251-5/+5
| | |
| * | for ... in => each ... doAkira Matsuda2010-12-252-6/+6
| | |
* | | Clean up PathSet.José Valim2010-12-271-19/+4
| | |
* | | Final tidy up on templates inheritance.José Valim2010-12-274-15/+11
| | |
* | | A bunch of cleanup on the inherited template patchwycats2010-12-263-10/+32
| | |
* | | all tests passartemave2010-12-265-7/+7
| | |
* | | #948 template_inheritanceartemave2010-12-265-23/+38
|/ /
* | Merge branch 'master' of github.com:rails/railsXavier Noria2010-12-242-4/+10
|\ \
| * | Allow registering javascript/stylesheet_expansions to existing symbolsSantiago Pastorino2010-12-222-4/+10
| | |
* | | More minor edits.Rizwan Reza2010-12-231-5/+5
| | |
* | | Revised documentation for cache_helper.Rizwan Reza2010-12-231-12/+10
|/ /
* | Do not use the same hash instance for expansions [#6114 state:resolved]Piotr Sarnacki2010-12-221-1/+3
| | | | | | | | | | Using the same hash instance makes using the same expansions for both javascripts and stylesheets.
* | Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-181-2/+3
| |
* | Revert "Fixed number_with_precision rounding error [#6182 state:resolved]"Piotr Sarnacki2010-12-171-3/+2
| | | | | | | | This reverts commit 006ec77e60163d57d655479602230672d98e0f10.
* | Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-171-2/+3
| |
* | Bring back config.action_view.cache_template_loading [#5847 state:resolved]Piotr Sarnacki2010-12-163-4/+25
| |
* | eternal confusion! fixed doco to inform correctlyAditya Sanghi2010-12-151-1/+1
| |
* | Added :placeholder option to ActionView::Helpers::FormTagHelper text_field_tagBen Mills2010-12-131-0/+4
| |
* | Remove nodoc from FormBuilder because the methods inside are public API methodsRyan Bigg2010-12-131-1/+1
| |
* | Ensure resolvers backward compatibility.José Valim2010-12-093-6/+4
| |
* | Properly check the arity for template handlers.José Valim2010-12-091-1/+1
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-052-3/+3
|\ \
| * | make it clear that recompilation happens only inNeeraj Singh2010-11-271-2/+2
| | | | | | | | | | | | development mode