RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: John222
Since rails 4.0.1 it is not working anymore. Cause activerecord is doing a check which results in the following error: "ActiveRecord::RecordNotFound (Couldn't find all Tasks with IDs (2, 3, 1) (found 0 results, but was looking for 3)):"
I did opened a issue a github for it: https://github.com/rails/rails/issues/14272