lib/generators/statesman/migration_generator.rb in statesman-3.2.0 vs lib/generators/statesman/migration_generator.rb in statesman-3.3.0
- old
+ new
@@ -9,10 +9,10 @@
desc "Add the required Statesman attributes to your transition model"
argument :parent, type: :string, desc: "Your parent model name"
argument :klass, type: :string, desc: "Your transition model name"
- source_root File.expand_path('../templates', __FILE__)
+ source_root File.expand_path("../templates", __FILE__)
def create_model_file
template("update_migration.rb.erb", file_name)
end