mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Note that multi-db config will change in rails 6
[ci skip]
This commit is contained in:
parent
58369e1d8f
commit
1fd4154a67
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ require_relative "paper_trail_spec_migrator"
|
|||
# connection for the namespaces to simulate an application with multiple
|
||||
# database connections.
|
||||
|
||||
# This is all going to change in rails 6. See "RailsConf 2018: Keynote: The
|
||||
# Future of Rails 6: Scalable by Default by Eileen Uchitelle"
|
||||
# https://www.youtube.com/watch?v=8evXWvM4oXM
|
||||
|
||||
# Load database yaml to use
|
||||
configs = YAML.load_file("#{Rails.root}/config/database.yml")
|
||||
|
||||
|
|
Loading…
Reference in a new issue