Sha256: 8998724f14957cdb489d27049eedfb58f3e55219364bff8ce88a9317e072f77c
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
module GoGamification class Engine < ::Rails::Engine initializer :append_migrations do |app| # This prevents migrations from being loaded twice from the inside of the # gem itself (dummy test app) if app.root.to_s !~ /#{root}/ config.paths['db/migrate'].expanded.each do |migration_path| app.config.paths['db/migrate'] << migration_path end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
go_gamification-0.0.13 | lib/go_gamification/engine.rb |