Skip to content

Commit

Permalink
Another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
davidclain committed Jan 17, 2011
1 parent ed49426 commit cb45ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/serialization/active_record.rb
Expand Up @@ -2,7 +2,7 @@ class ActiveRecord::Base
yaml_as "tag:ruby.yaml.org,2002:ActiveRecord"

def self.yaml_new(klass, tag, val)
Import.establish_connection(
::ActiveRecord::Base.establish_connection(
:adapter => 'mysql',
:host => 'localhost',
:database => 'new_dev',
Expand Down

0 comments on commit cb45ecf

Please sign in to comment.