Sha256: 973bbac3427fd7be11ffaf16d84d0e80b7d2e48144d3a5fd9bb70bf17cddec6f
Contents?: true
Size: 393 Bytes
Versions: 5
Compression:
Stored size: 393 Bytes
Contents
# frozen_string_literal: true namespace :doorkeeper do task setup: :environment do # Dirty hack to manually initialize AR because of lazy auto-loading, # in other case we'll see NameError: uninitialized constant Doorkeeper::AccessToken if Doorkeeper.config.orm == :active_record && defined?(::ActiveRecord::Base) Object.const_get("::ActiveRecord::Base") end end end
Version data entries
5 entries across 5 versions & 1 rubygems