aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Rename erubis_implementation to erb_implementation.José Valim2010-02-221-3/+3
|
* Include missing modules.José Valim2010-02-221-2/+2
|
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-213-3/+3
|
* Require persisted? in ActiveModel::Lint and remove new_record? and ↵José Valim2010-02-213-12/+11
| | | | destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
* 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>
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-162-3/+3
|
* 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-055-7/+7
| | | | | | [#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-042-0/+14
|
* 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>
* Resolve view paths correctly on CygWinSam Ruby2010-02-021-1/+1
| | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* Convert to class_attributeJeremy Kemper2010-02-013-4/+6
|
* Add support for compile-time <%= raw %>Yehuda Katz2010-01-311-1/+5
|
* Deleted all references to ActionView::SafeBuffer in favor of ↵Santiago Pastorino2010-01-312-2/+2
| | | | | | 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-3120-130/+45
| | | | | | | | | | | | 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
|
* Require ac/test_case from AV::TestCaseJoshua Peek2010-01-311-0/+2
|
* deOMGifying Railties, Active Support, and Action PackMikel Lindsaar2010-01-311-2/+1
|
* Improve missing template error messages a little bit.José Valim2010-01-312-7/+12
|
* 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-302-69/+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-307-770/+586
| | | | | | | | | | | 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.