Changeset [f34b5f8962469f18efe8e46806b563784309bfb3] by Dan Kubb

May 29th, 2010 @ 01:12 AM

Ensure the SaveFailureError exception has a reference to the resource

  • When dm-validations is being used, this allows the exact errors to be retrieved from the invalid resource when the SaveFailureError exception is raised.

[#1295] http://github.com/datamapper/dm-core/commit/f34b5f8962469f18efe8e46...

Committed by Dan Kubb

  • M lib/dm-core.rb
  • M lib/dm-core/resource.rb
  • M spec/public/resource_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »