lib/generators/outboxable/install_generator.rb in outboxable-1.0.3 vs lib/generators/outboxable/install_generator.rb in outboxable-1.0.4

- old
+ new

@@ -12,10 +12,10 @@ %w[activerecord mongoid].include?(@orm) || raise(ArgumentError, 'Invalid ORM. Only ActiveRecord and Mongoid are supported.') end # Copy initializer into user app def copy_initializer - copy_file('activerecod_initializer.rb', 'config/initializers/z_outboxable.rb') if @orm == 'activerecord' + copy_file('activerecord_initializer.rb', 'config/initializers/z_outboxable.rb') if @orm == 'activerecord' copy_file('mongoid_initializer.rb', 'config/initializers/z_outboxable.rb') if @orm == 'mongoid' end # Copy user information (model & Migrations) into user app def create_user_model