aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Remove empty line and trailing hash, breaks documentation generationDirkjan Bussink2010-02-191-2/+0
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* ruby 1.9 array.to_s returns a string representing an escaped arraySantiago Pastorino2010-02-181-1/+1
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* i18n translate with arrays issue solvedSantiago Pastorino2010-02-181-2/+3
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* Explicit html_escape removed when not neededSantiago Pastorino and José Ignacio Costa2010-02-143-4/+4
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* html_escape mail_to when encode javascript and not hexSantiago Pastorino and José Ignacio Costa2010-02-141-5/+3
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* content_tag should escape its inputBruno Michel2010-02-147-15/+14
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* simple_format returns a safe buffer escaping unsafe input [Santiago Pastorino]David Heinemeier Hansson2010-02-121-1/+1
|
* Safely concat the ending tag to simple_format or it will be escapedDavid Heinemeier Hansson2010-02-121-1/+1
|
* Fix pluralization for numbers formatted like '1.00'Gabriel Mansour2010-02-071-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix nested attributes with specified collection.José Valim2010-02-071-7/+11
|
* More html_safe strings now use the safe_concat methodSantiago Pastorino and José Ignacio Costa2010-02-054-6/+6
| | | | | | [#3856 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* HTML-escape csrf meta contentsJeremy Kemper2010-02-041-1/+1
|
* Expose CSRF param name alsoJeremy Kemper2010-02-041-1/+1
|
* Expose CSRF tag for UJS adaptersJeremy Kemper2010-02-041-0/+12
|
* Configuration values should be on AV::Base.José Valim2010-02-021-17/+4
|
* Modify the behavior of `radio_button_tag` to use `sanitize_to_id` for ↵Prem Sichanugrist2010-02-021-3/+1
| | | | | | consistency [#1792 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Deleted all references to ActionView::SafeBuffer in favor of ↵Santiago Pastorino2010-01-311-1/+1
| | | | | | ActiveSupport::SafeBuffer Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* action_view is requiring the deleted action_view/erb/util.rb fileSantiago Pastorino2010-01-311-1/+0
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* For performance reasons, you can no longer call html_safe! on Strings. ↵Yehuda Katz2010-01-3115-51/+42
| | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
* UJS documentation.Stefan Penner2010-01-313-33/+78
|
* data-remote needs to be on the form and not the submit when using button_to ↵Erik St. Martin2010-01-311-1/+3
| | | | :remote=>true
* add :remote option to form_tagStephen St. Martin2010-01-311-0/+1
|
* form_for should pass :remote to form_tag through html_optionsStephen St. Martin2010-01-311-0/+2
|
* Add rel=nofollow on non get remote linksJoshua Peek2010-01-301-1/+1
|
* Generate UJS code for :disable_withJoshua Peek2010-01-302-14/+1
|
* updating link_to and button_to to support :remote => true and other options ↵Erik St. Martin2010-01-302-38/+51
| | | | | | such as :confirm in a unobtrusive manor Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Include prototype ujs adapter with new appsJoshua Peek2010-01-301-1/+1
|
* Reorg options_for_javascript and array_or_string_for_javascriptJoshua Peek2010-01-303-17/+17
|
* Move button_to_function to prototype helperJoshua Peek2010-01-302-33/+33
|
* Unused JAVASCRIPT_PATH constJoshua Peek2010-01-301-4/+0
|
* Move scripty JSG helpers into scriptaculous_helper.rbJoshua Peek2010-01-302-26/+32
|
* Move form_remote_tag and remote_form_for into prototype_legacy_helperJoshua Peek2010-01-301-109/+0
|
* Move button_to_remote and submit_to_remote into prototype_legacy_helperJoshua Peek2010-01-301-38/+0
| | | | plugin
* Move link_to_function and link_to_remote into prototype_legacy_helperJoshua Peek2010-01-303-248/+48
| | | | plugin
* Drop AjaxHelperJoshua Peek2010-01-301-68/+0
|
* Move periodically_call_remote into prototype_legacy_helper pluginJoshua Peek2010-01-301-35/+0
|
* Move observe_field and observe_form to prototype_legacy_helper pluginJoshua Peek2010-01-301-154/+35
|
* Revert "Merge branch 'rails/master' into ujs"Joshua Peek2010-01-306-767/+581
| | | | | | | | | | | This reverts commit 3aa1ea1ae4baa4a03d03644e798eeb98a4745785, reversing changes made to 2c12a71378d2146c822acb389b00b866f6420ff5. Conflicts: actionpack/lib/action_view/helpers/javascript_helper.rb actionpack/lib/action_view/helpers/url_helper.rb actionpack/test/template/url_helper_test.rb
* Revert "Add rails.js driver to default source list"Joshua Peek2010-01-301-1/+1
| | | | This reverts commit 8a46e1182e3fce36aee5e6cb65737c4e755bbced.
* Deprecate link_to :popupJoshua Peek2010-01-292-29/+8
|
* Add rails.js driver to default source listJoshua Peek2010-01-291-1/+1
|
* updated tests + docs, plus minor inconsistency fixesStefan Penner2010-01-271-52/+90
|
* tests + docsStefan Penner2010-01-271-62/+90
|
* observe_form now supports :with option as it shouldErik St. Martin2010-01-271-0/+10
|
* :href should be comming in through html_options and not optionsErik St. Martin2010-01-271-1/+1
|
* removing container inline js function of observed elements :function callbackErik St. Martin2010-01-271-5/+1
|
* moving html_safe call into helpers directly as they only work from that levelErik St. Martin2010-01-271-4/+4
|
* periodically_call_remote does not need data-observe=trueErik St. Martin2010-01-271-0/+3
|
* need to tell erb that our <script> tag is html_safeErik St. Martin2010-01-271-1/+1
|
* adding :href override to link_to_remoteErik St. Martin2010-01-271-1/+3
|