aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2005-10-15 02:13:42 +0000
committerMarcel Molina <marcel@vernix.org>2005-10-15 02:13:42 +0000
commit07b4ea2e4b30b0a57129a3e24902602d08cf5cc7 (patch)
tree8b138563ca3d145469d10c7591a8ba5e303fd696 /activerecord/lib/active_record
parentda675e536df785596645dce0d5cd5c7817af39e4 (diff)
downloadrails-07b4ea2e4b30b0a57129a3e24902602d08cf5cc7.tar.gz
rails-07b4ea2e4b30b0a57129a3e24902602d08cf5cc7.tar.bz2
rails-07b4ea2e4b30b0a57129a3e24902602d08cf5cc7.zip
Eliminate an obsolete comment.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-xactiverecord/lib/active_record/base.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 6d98cd16db..81683b7dae 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1520,8 +1520,6 @@ module ActiveRecord #:nodoc:
# 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