Sha256: 28a19f005ce6f3f8a5051e98073a8eea7b0be68e6e54783c811dbb68c57c499f

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

# at require-time, we need Rails to be defined to initialize the railtie
# and set the default adapter to the Rails::Application adapter
if defined?(Rails)
  require "figaro/rails/application"
  require "figaro/rails/railtie"
  Figaro.adapter = Figaro::Rails::Application
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
seielit-figaro-1.1.2 lib/figaro/rails.rb