Permalink
Browse files

no longer use this instance variable

  • Loading branch information...
tenderlove committed May 17, 2011
1 parent 8ec1b84 commit 0eeb2da5c4174ce023d248ef426840d76d5ce765
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/visitors/test_to_sql.rb
@@ -1,7 +1,7 @@
require 'helper'
class Arel::Visitors::ToSql
- def last_column; Thread.current[:arel_visitors_to_sql_last_column] || @last_column; end
+ def last_column; Thread.current[:arel_visitors_to_sql_last_column]; end
end
module Arel

0 comments on commit 0eeb2da

Please sign in to comment.