Skip to content

Cascading :rearrange callbacks #25

@stepantubanov

Description

@stepantubanov

Not sure if this is an issue, but if a model has

embeds_many :something, cascade_callbacks: true

Then the embedded model (something) has to have

define_model_callbacks :rearrange

otherwise it throws an exception undefined method _run_rearrange_callbacks when callbacks are run.

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