Sha256: db531d276a87272f605838103522d92a750d42163c1d838b2cdf54bfeb15b6a9
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
# Patches a problem that prevents the default rake unit test task working nicely with the # JDBC adapter. Note that for this to work correctly, the database type must be set # to "mysql" instead of "jdbcmysql" if((RUBY_PLATFORM =~ /java/) && defined?(ActiveRecord::ConnectionAdapters::JdbcAdapter)) require 'jdbc_adapter/jdbc_mysql' assit(defined?(JdbcSpec::MySQL)) module JdbcSpec # :nodoc: module MySQL # :nodoc: alias_method :real_recreate_database, :recreate_database def recreate_database(name, dummy = nil) # :nodoc: real_recreate_database(name) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
talia_core-0.7.0 | lib/core_ext/jdbc_rake_monkeypatch.rb |