Skip to content

Commit

Permalink
Ensure Proper DB Registry Require Order
Browse files Browse the repository at this point in the history
  • Loading branch information
jmburges committed Jan 5, 2016
1 parent 54f299a commit ca7b87b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/support/db_registry.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
require 'ostruct'
require_relative "./connection_adapter"

DBRegistry ||= OpenStruct.new(test: ConnectionAdapter.new("db/playlister-test.db"),
development: ConnectionAdapter.new("db/playlister-development.db"),
production: ConnectionAdapter.new("db/playlister-production.db")
Expand Down

0 comments on commit ca7b87b

Please sign in to comment.