Skip to content

Commit

Permalink
Update lib/application_checker.rb
Browse files Browse the repository at this point in the history
Added form_remote_for to check_old_ajax_helpers. The method form_remote_for was in older Rails 2 frameworks and was still supported in Rails 2.3.*
  • Loading branch information
bacrossland committed Aug 22, 2012
1 parent 3fe881b commit 6198aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/application_checker.rb
Expand Up @@ -283,7 +283,7 @@ def check_old_helpers
# Checks for old-style AJAX helpers
def check_old_ajax_helpers
files = []
['link_to_remote','form_remote_tag','remote_form_for'].each do |type|
['link_to_remote','form_remote_tag','remote_form_for', 'form_remote_for'].each do |type|
lines = grep_for(type, "app/views/**/*")
inner_files = extract_filenames(lines)
files += inner_files unless inner_files.nil?
Expand Down

0 comments on commit 6198aa0

Please sign in to comment.