Skip to content

Refresh updated_at on soft delete #159

Closed
@orionstar

Description

@orionstar

We don't have the option to run useful before_delete observers when we run delete(), becase only the id passed to the method. That way we cannot refresh the updated_at's value on soft delete.

Activity

jamierumbelow

jamierumbelow commented on Mar 6, 2014

@jamierumbelow
Owner

Very good point. It's going to be a while before I'm able to add this – do you reckon you could give it a go?

orionstar

orionstar commented on Mar 6, 2014

@orionstar
Author

Of course, maybe during the weekend. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @jamierumbelow@orionstar

      Issue actions

        Refresh updated_at on soft delete · Issue #159 · jamierumbelow/codeigniter-base-model