Permalink
Browse files

Use the correct class for JDBC Mysql adapter

  • Loading branch information...
Nilesh Trivedi
Nilesh Trivedi committed Sep 15, 2011
1 parent 7920563 commit f480373247a48cd3e39ee56b7d11c32e0d26971a
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/enum/enum_adapter.rb
  2. +1 −1 lib/enum/jdbcmysql_adapter.rb
View
@@ -3,7 +3,7 @@
# values and adds the common type management code for the adapters.
column_class = if defined? ActiveRecord::ConnectionAdapters::MySQLJdbcConnection
- ActiveRecord::ConnectionAdapters::Column
+ ActiveRecord::ConnectionAdapters::MysqlColumn
else
ActiveRecord::ConnectionAdapters::Mysql2Column
end
@@ -1,6 +1,6 @@
module ActiveRecord
module ConnectionAdapters
- class MysqlAdapter
+ class MySQLJdbcConnection
alias __native_database_types_enum native_database_types
def native_database_types #:nodoc

0 comments on commit f480373

Please sign in to comment.