class AttributeChangerGenerator

Public Instance Methods

copy_migration() click to toggle source
# File lib/generators/attribute_changer_generator.rb, line 6
def copy_migration
  copy_file "create_attribute_changer_attribute_changes.rb", "db/migrate/#{Time.now.utc.strftime("%Y%m%d%H%M%S")}_create_attribute_changer_attribute_changes.rb"
end