Permalink
Browse files

use the method so we do not depend on internal ivars

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