Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #21 from bacrossland/master

Added older form_remote_for tag to search for in rails upgrade
  • Loading branch information...
commit af7354147278916b03d5d67ac27464970c934036 2 parents 3fe881b + 6198aa0
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/application_checker.rb
View
2  lib/application_checker.rb
@@ -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?
Please sign in to comment.
Something went wrong with that request. Please try again.