Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use the method so we do not depend on internal ivars

  • Loading branch information...
commit 772c18e02811aa988a74bc4a9e999f153f1d8ad0 1 parent d5f4b53
@tenderlove tenderlove authored
View
2  activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
@@ -291,7 +291,7 @@ def references(*args)
# concatenated together. This string can then be prepended and appended to
# to generate the final SQL to create the table.
def to_sql
- @columns.map { |c| c.to_sql } * ', '
+ columns.map { |c| c.to_sql } * ', '
end
private
Please sign in to comment.
Something went wrong with that request. Please try again.