Open balmoral opened 9 years ago
To replicate the issue create a buffer on an existing model instance and save it (without modification).
For example:
store._items.first.buffer.save!
This should cause a duplicate key error on item.id, but processing of the error in Volt::Errors#merge! fails on line 14
messages.each do |message|
because messages s a String.
see pull request for potential fix
To replicate the issue create a buffer on an existing model instance and save it (without modification).
For example:
This should cause a duplicate key error on item.id, but processing of the error in Volt::Errors#merge! fails on line 14
because messages s a String.