Skip to content

Error When Migrating Generated Models #55

@rdrop

Description

@rdrop

Any migration with the word 'API' has all of the letter capitalized in the generator templates.

i.e.
migration xxxxxxx_add_api_ids.rb is
class AddAPIIds < ActiveRecord::Migration

It would either have to be:
migration xxxxxxx_add_a_p_i_ids.rb is
class AddAPIIds < ActiveRecord::Migration

OR
migration xxxxxxx_add_api_ids.rb is
class AddApiIds < ActiveRecord::Migration

FOLDER:
/lib/generators/surveyor/templates/db/migrate/

FILES:
add_api_id_to_question_groups.rb
add_api_ids_to_response_sets_and_responses.rb
add_api_ids.rb
api_ids_must_be_unique.rb
update_blank_api_ids_on_question_group.rb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions