Skip to content

Commit

Permalink
Passing string to establish_connection is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jun 18, 2014
1 parent 60a3105 commit cb6c537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/finders/activerecord_test_connector.rb
Expand Up @@ -69,7 +69,7 @@ def setup_connection
puts "using #{configuration['adapter']} adapter"

ActiveRecord::Base.configurations = { db => configuration }
ActiveRecord::Base.establish_connection(db)
ActiveRecord::Base.establish_connection(db.to_sym)
ActiveRecord::Base.default_timezone = :utc
end

Expand Down

0 comments on commit cb6c537

Please sign in to comment.