1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Assume Rails is defined

This commit is contained in:
Dino Maric 2017-07-22 16:25:36 +02:00 committed by George Claghorn
parent 3acf65f797
commit 5fcaa197a7

View file

@ -1,5 +1,5 @@
require "active_record"
require "active_storage/engine" if defined?(Rails)
require "active_storage/engine"
module ActiveStorage
extend ActiveSupport::Autoload