lib/chrono_model/adapter.rb in chrono_model-0.12.1 vs lib/chrono_model/adapter.rb in chrono_model-0.12.2

- old
+ new

@@ -912,10 +912,10 @@ on_schema(HISTORY_SCHEMA, nesting, &block) end def translate_exception(exception, message) if exception.message =~ /conflicting key value violates exclusion constraint/ - ActiveRecord::RecordNotUnique.new(message, exception) + ActiveRecord::RecordNotUnique.new(message) else super end end end