lml / lev

Ride the rails but don't touch them.
MIT License
2 stars 6 forks source link

Add `copy!` & `details` to match ActiveModel:Errors version 5 #67

Closed nathanstitt closed 5 years ago

nathanstitt commented 5 years ago

I attempted to figure out how to add spec for this but couldn't figure out how AR errors are wrapped. There wasn't any existing specs to add on to that I could find.

Will remove need for hacks like this: https://github.com/openstax/accounts/blob/master/config/initializers/lev.rb#L9-L16