1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Changed migration class name to work with zeitwerk

This commit is contained in:
rwegrzyniak 2020-10-19 12:04:41 +02:00 committed by Anil Kumar Maurya
parent 8ba44d6d95
commit 9f97867884

View file

@ -1,4 +1,4 @@
class AASMCreate<%= table_name.camelize %> < ActiveRecord::Migration[<%= ActiveRecord::VERSION::STRING.to_f %>]
class AasmCreate<%= table_name.camelize %> < ActiveRecord::Migration[<%= ActiveRecord::VERSION::STRING.to_f %>]
def change
create_table(:<%= table_name %>) do |t|
t.string :<%= column_name %>