Skip to content

has_many_dependent snippet produces incorrect code #36

@drevantonder

Description

@drevantonder

has_many_dependent produces: has_many :categories, dependent: destroy it should be has_many :categories, dependent: :destroy with the colon in front of destroy. http://guides.rubyonrails.org/association_basics.html

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