<commit_before>LegacyAjaxCallbacks
======================

This plugin re-enables inline AJAX callbacks in Rails 3 and allows you to continue using your old Rails 2 callbacks, until your done porting all your views to the use of unobstrusive JavaScript. I highly recommend that transition to an unobstrusive approach, as it will make your code much cleaner.

Some links for further reference on that topic:

    http://www.alfajango.com/blog/rails-3-remote-links-and-forms/

    http://www.simonecarletti.com/blog/2010/06/unobtrusive-javascript-in-rails-3/


Example
-------

    <%= link_to 'Click me' @my_stuff, {:remote => true, :complete => 'alert("Done!")'} %>

As you can see in the above example, you'll still need to change your syntax from ``link_to_remote`` to ``link_to`` with the option ``:remote => true``. However, with this plugin you can keep your AJAX callbacks the way they used to be.


Copyright (c) 2011 <NAME>, released under the MIT license. For full details see MIT-LICENSE included in this distribution.<commit_msg>Links in README aren't code. ;-)<commit_after>LegacyAjaxCallbacks
======================

This plugin re-enables inline AJAX callbacks in Rails 3 and allows you to continue using your old Rails 2 callbacks, until your done porting all your views to the use of unobstrusive JavaScript. I highly recommend that transition to an unobstrusive approach, as it will make your code much cleaner.

Some links for further reference on that topic:

  http://www.alfajango.com/blog/rails-3-remote-links-and-forms/

  http://www.simonecarletti.com/blog/2010/06/unobtrusive-javascript-in-rails-3/


Example
-------

    <%= link_to 'Click me' @my_stuff, {:remote => true, :complete => 'alert("Done!")'} %>

As you can see in the above example, you'll still need to change your syntax from ``link_to_remote`` to ``link_to`` with the option ``:remote => true``. However, with this plugin you can keep your AJAX callbacks the way they used to be.


Copyright (c) 2011 <NAME>, released under the MIT license. For full details see MIT-LICENSE included in this distribution.
{'fraction_non_alphanumeric': 0.11503579952267304, 'fraction_numerical': 0.013365155131264916, 'mean_word_length': 4.292929292929293, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3986152', 'n_tokens_mistral': 634, 'n_tokens_neox': 574, 'n_words': 260}