1
0
Fork 0
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:
Jared Beck 2018-08-01 22:08:22 -04:00
parent 58369e1d8f
commit 1fd4154a67

View file

@ -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")