You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
You are right, I forgot to update this call, I'll add that to my next
iteration :)
Adolfo Builes
On Sat, Aug 13, 2016 at 10:07 PM, Ozy Wu-Li [email protected]
wrote:
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 if you haven't noticed the issue yet.
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 ofmodel.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.The text was updated successfully, but these errors were encountered: