Skip to content

Take table_name_prefix into account #28

@Techbrunch

Description

@Techbrunch

If a table_name_prefixhas been setup it should not appear in the model name.

Currently if there is a prefix setup like pr_ it will appear in the generated file name & model name:

pr_account.rb:

class PrAccount < ActiveRecord::Base
end

It would be nice to have an option that can be passed specifying the prefix so it can be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions