Sha256: 03653f7d169bd48a4501927c54ae5f5ab03fba98b6a8aefd4b3da7ce662a0a05
Contents?: true
Size: 487 Bytes
Versions: 6
Compression:
Stored size: 487 Bytes
Contents
require 'departure' require 'lhm' # It's our own Lhm adapter, not the gem require 'rails' module Departure class Railtie < Rails::Railtie railtie_name :departure initializer 'departure.configure' do |app| Departure.configure do |config| config.tmp_path = app.paths['tmp'].first end end config.after_initialize do Departure.configure do |dc| ActiveRecord::Migration.uses_departure = dc.enabled_by_default end end end end
Version data entries
6 entries across 6 versions & 2 rubygems