Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Using before_save instead of after_update callback ?  #110

@itkin

Description

@itkin

Hello,

Was playing around with your gem (btw thanks amazing work !) , was wondering why you rely on after_update/create callbacks of version creation, instead of relying on the standard rails callback progation (ie instanciate the version in a before_save cb of the versioned instance and let rails save it with its parent in the same commit).

Do you guys see some drawbacks with the described behavior, which made you code the creation feature the way you did ?

thx !!

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