Sha256: 77834d32e21d039e07079ec7d93fe62a58d974d02f4571080c18685d8754cf37
Contents?: true
Size: 614 Bytes
Versions: 4
Compression:
Stored size: 614 Bytes
Contents
module Doorkeeper module Orm module ActiveRecord def self.initialize_models! require 'doorkeeper/orm/active_record/access_grant' require 'doorkeeper/orm/active_record/access_token' require 'doorkeeper/orm/active_record/application' if Doorkeeper.configuration.active_record_options[:establish_connection] [Doorkeeper::AccessGrant, Doorkeeper::AccessToken, Doorkeeper::Application].each do |c| c.send :establish_connection, Doorkeeper.configuration.active_record_options[:establish_connection] end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems