Skip to content
Browse files

use the method so we do not depend on internal ivars

  • Loading branch information...
1 parent d5f4b53 commit 772c18e02811aa988a74bc4a9e999f153f1d8ad0 @tenderlove tenderlove committed
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

0 comments on commit 772c18e

Please sign in to comment.
Something went wrong with that request. Please try again.