lib/mixed_gauge/errors.rb in mixed_gauge-0.1.1 vs lib/mixed_gauge/errors.rb in mixed_gauge-0.1.2
- old
+ new
@@ -3,6 +3,10 @@
end
# Raised when try to put new record without distkey attribute.
class MissingDistkeyAttribute < Error
end
+
+ # Inherit from AR::RecordNotFound to enable to handle as AR's one.
+ class RecordNotFound < ActiveRecord::RecordNotFound
+ end
end