Skip to content

Generator behavior #7

@MrRezaque

Description

@MrRezaque

It overrides rails g scaffold in a strange way. It prevents model to be generated by ActiveRecord(if it's included to app) but doesn't generate its own model.

Because ActiveRecord is significantly more popular than couch for rails environment nowadays, maybe it makes sense to leave generator untouched, so those who what to add couch alongside good ol' relational DB didn't have issues with commenting/uncommenting this dependency when they need to generate something?

It's not something urgent or very important, just my 2 cents.

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