Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed all updates

  • Loading branch information...
commit 4e87ffbb73c7da3d9701059e8839ce3fb53fe0e7 1 parent b2fa39e
Alexander Sweeney authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/spatial_adapter/mysql.rb
4 lib/spatial_adapter/mysql.rb
View
@@ -16,7 +16,7 @@ def columns(table_name, name = nil)#:nodoc:
if field[1] =~ GEOMETRY_REGEXP
ActiveRecord::ConnectionAdapters::SpatialMysqlColumn
else
- ActiveRecord::ConnectionAdapters::MysqlAdapter::Column
+ ActiveRecord::ConnectionAdapters::MysqlAdapter::Column # update for new version of driver
end
columns << klass.new(field[0], field[4], field[1], field[2] == "YES")
end
@@ -51,6 +51,6 @@ def options_for(table)
class SpatialMysqlColumn < MysqlAdapter::Column
include SpatialAdapter::SpatialColumn
- extend SpatialAdapter::Base::Mysql::SpatialColumn
+ extend SpatialAdapter::Base::Mysql::SpatialColumn # update for new version of driver
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.