lib/generators/mainstreet/address_generator.rb in mainstreet-0.0.1 vs lib/generators/mainstreet/address_generator.rb in mainstreet-0.1.0

- old
+ new

@@ -2,9 +2,9 @@ module Mainstreet class AddressGenerator < Rails::Generators::Base def boom invoke "model", ["Address", "street:string", "street2:string", "city:string", "state:string", "zip_code:string", "latitude:decimal{15.10}", "longitude:decimal{15.10}", "verification_info:text", "original_attributes:text"], options - insert_into_file "app/models/address.rb", " acts_as_address\n", after: "ActiveRecord::Base\n" + insert_into_file "app/models/address.rb", " acts_as_address\n", after: "ApplicationRecord\n" end end end