lib/avromatic/railtie.rb in avromatic-0.9.0 vs lib/avromatic/railtie.rb in avromatic-0.10.0.rc0

- old
+ new

@@ -2,8 +2,12 @@ class Railtie < Rails::Railtie initializer 'avromatic.configure' do Avromatic.configure do |config| config.logger = Rails.logger end + + Rails.configuration.to_prepare do + Avromatic.prepare! + end end end end