mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
"DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:test) instead."
This commit is contained in:
parent
1c758d3612
commit
434bbd5452
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
# database
|
||||
ActiveRecord::Base.configurations = {'test' => {:adapter => 'sqlite3', :database => ':memory:'}}
|
||||
ActiveRecord::Base.establish_connection('test')
|
||||
ActiveRecord::Base.establish_connection :test
|
||||
|
|
Loading…
Add table
Reference in a new issue