Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Added older tag to search for. #21

Merged
merged 1 commit into from almost 2 years ago

2 participants

bacrossland Carlos Antonio da Silva
bacrossland

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.*

bacrossland bacrossland Update lib/application_checker.rb
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.*
6198aa0
Carlos Antonio da Silva carlosantoniodasilva merged commit af73541 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Aug 22, 2012
bacrossland bacrossland Update lib/application_checker.rb
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.*
6198aa0
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/application_checker.rb
2  lib/application_checker.rb
@@ -283,7 +283,7 @@ def check_old_helpers
283 283 # Checks for old-style AJAX helpers
284 284 def check_old_ajax_helpers
285 285 files = []
286   - ['link_to_remote','form_remote_tag','remote_form_for'].each do |type|
  286 + ['link_to_remote','form_remote_tag','remote_form_for', 'form_remote_for'].each do |type|
287 287 lines = grep_for(type, "app/views/**/*")
288 288 inner_files = extract_filenames(lines)
289 289 files += inner_files unless inner_files.nil?

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.