lib/astrochimp/engine.rb in astrochimp-0.1.0 vs lib/astrochimp/engine.rb in astrochimp-0.1.2

- old
+ new

@@ -2,7 +2,14 @@ require 'hominid' require 'jquery-rails' class Engine < ::Rails::Engine isolate_namespace Astrochimp + + initializer "astrochimp.load_app_instance_data" do |app| + app.class.configure do |config| + #Pull in all the migrations from Astrochimp to the application + config.paths['db/migrate'] += Astrochimp::Engine.paths['db/migrate'].existent + end + end end end