aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* For performance reasons, you can no longer call html_safe! on Strings. ↵Yehuda Katz2010-01-3121-131/+48
| | | | | | | | | | | | 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-312-3/+2
|
* 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.
* Deprecation notice for TestResponse#redirected_toJoshua Peek2010-01-301-0/+5
|
* Bring helpers_dir deprecation back.José Valim2010-01-301-0/+2
|
* Fix some backward incompatible behavior on AM.José Valim2010-01-305-29/+32
|
* Deprecate link_to :popupJoshua Peek2010-01-292-29/+8
|
* Add rails.js driver to default source listJoshua Peek2010-01-291-1/+1
|
* Added :format and :locale options to render.José Valim2010-01-291-1/+10
|
* Fix rendering of layouts.José Valim2010-01-292-6/+2
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-297-168/+160
|
* 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
|
* adding support for :disable_with to button_to_remoteErik St. Martin2010-01-271-0/+4
|
* fix duplidate data-submit attribute, submit_to_remote should test urlStephen St. Martin2010-01-271-1/+1
|
* remote_form_for now supports :confirmErik St. Martin2010-01-271-0/+5
|
* account for the fact a few options may be passed as symbols and need to be ↵Erik St. Martin2010-01-271-4/+12
| | | | converted to string
* add missing call to set_with_and_condition_attributes for form_remote_tagStephen St. Martin2010-01-271-0/+1
|
* removing Prototype inline js for attributes for :with and :condition, it now ↵Erik St. Martin2010-01-271-14/+14
| | | | is free form js that can be placed there, also moved :submit out into AjaxHelper, updated tests to reflect changes
* refactor params and with into copat moduleStephen St. Martin2010-01-271-13/+26
|
* fixing last merge breakageErik St. Martin2010-01-272-13/+0
|
* add missing :before and :after callbacks for link_to_remoteStephen St. Martin2010-01-271-1/+1
|