Permalink
Browse files

Eliminate an obsolete comment.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent da675e5 commit 07b4ea2e4b30b0a57129a3e24902602d08cf5cc7 Marcel Molina committed Oct 15, 2005
Showing with 0 additions and 2 deletions.
  1. +0 −2 activerecord/lib/active_record/base.rb
@@ -1520,8 +1520,6 @@ def quote(value, column = nil)
# Interpolate custom sql string in instance context.
# Optional record argument is meant for custom insert_sql.
def interpolate_sql(sql, record = nil)
- # Parens in the sql in, e.g., subselects, cause a parse error, so
- # escape them.
instance_eval("%@#{sql.gsub('@', '\@')}@")
end

0 comments on commit 07b4ea2

Please sign in to comment.