rails-sqlserver/activerecord-sqlserver-adapter — pull request #176 by jbridgwaterrowe-heiskell (2012-03-20 21:37:46+00:00)
Title: Set @config on SQLServerAdapter initialize...

When using DbCharmer with Rails 3.2.2 it would throw the following exception if @config was not set:

ActiveRecord::StatementInvalid: RuntimeError: Can't find connection configuration!: EXEC sp_executesql N'SELECT @@version'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p125@xxx/bundler/gems/db-charmer-6eb3ec4d3fa8/lib/db_charmer/rails3/abstract_adapter/connection_name.rb:27:in `connection_name'

I'm not sure if this mandatory but other adapters (SQLiteAdapter and AbstractMysqlAdapter) are both setting this instance variable.