Skip to content

model.rollback() has been deprecated #91

Description

@ozywuli

In the "Hands-On" chapter under the "Route hooks" section, I ran into an issue with model.rollback() where it was not defined as a function. Apparently it's been deprecated as of Ember-cli 2.6.1 (the version I'm using with your tutorial) in favor of model.rollbackAttributes(). So I used that function instead and the issue has been resolved. I just thought I give you a heads up in case you haven't noticed the issue yet.

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