<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -277,7 +277,6 @@ module ActiveRecord
         add_column_options!(column_sql, column_options) unless type.to_sym == :primary_key
         column_sql
       end
-      alias to_s :to_sql
 
       private
 
@@ -508,7 +507,7 @@ module ActiveRecord
       # concatenated together. This string can then be prepended and appended to
       # to generate the final SQL to create the table.
       def to_sql
-        @columns * ', '
+        @columns.map(&amp;:to_sql) * ', '
       end
 
       private</diff>
      <filename>activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5a0e2959117e29e6836b9f611d6ba1d3260702b7</id>
    </parent>
  </parents>
  <author>
    <name>Akira Matsuda</name>
    <email>ronnie@dio.jp</email>
  </author>
  <url>http://github.com/findsyou/rails/commit/8dab61d146f26c18acdef1fcc57b01612f96440c</url>
  <id>8dab61d146f26c18acdef1fcc57b01612f96440c</id>
  <committed-date>2009-08-05T17:09:20-07:00</committed-date>
  <authored-date>2009-08-05T16:34:23-07:00</authored-date>
  <message>Ruby 1.9.2 compat: Array#* uses to_str instead of to_s to join values since Ruby 1.9.2

[#2959 state:committed]

Signed-off-by: Jeremy Kemper &lt;jeremy@bitsweat.net&gt;</message>
  <tree>d5611b32585889d3eb3480b77161639eceefc1ac</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
