Skip to content

Improve Dirty Tracking API #57

@dnd

Description

@dnd

The dirty tracking API could be made much more useful with some additional methods being provided. Taking from Sequel:

#column_changes
{name: ['old', 'new']}

#initial_value(column)
'old'

#initial_values
{name: 'old', amount: 0}

#reset_column(column)
obj.name => 'old'

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