Permalink
Browse files

Remove unused variable

This method is not using the block variable directly since it is calling
yield
  • Loading branch information...
1 parent 0322b6a commit 131cadf3b5a02684df7707c029f0e23a3a83f8f1 @rafaelfranca rafaelfranca committed Nov 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -283,7 +283,7 @@ def quoted_false
# REFERENTIAL INTEGRITY ====================================
- def disable_referential_integrity(&block) #:nodoc:
+ def disable_referential_integrity #:nodoc:
old = select_value("SELECT @@FOREIGN_KEY_CHECKS")
begin

0 comments on commit 131cadf

Please sign in to comment.