Permalink
Browse files

updated column name reference for mysql driver

  • Loading branch information...
1 parent 06a3f2c commit b2fa39e38f13e08de58bf5e6918b2c7c714cb212 Alexander Sweeney committed Jul 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/spatial_adapter/mysql.rb
@@ -16,7 +16,7 @@ def columns(table_name, name = nil)#:nodoc:
if field[1] =~ GEOMETRY_REGEXP
ActiveRecord::ConnectionAdapters::SpatialMysqlColumn
else
- ActiveRecord::ConnectionAdapters::MysqlColumn
+ ActiveRecord::ConnectionAdapters::MysqlAdapter::Column
end
columns << klass.new(field[0], field[4], field[1], field[2] == "YES")
end

0 comments on commit b2fa39e

Please sign in to comment.