summaryrefslogtreecommitdiff
path: root/config/initializers/validations.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/validations.rb')
-rw-r--r--config/initializers/validations.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/initializers/validations.rb b/config/initializers/validations.rb
new file mode 100644
index 0000000..e8acfbe
--- /dev/null
+++ b/config/initializers/validations.rb
@@ -0,0 +1,4 @@
+# In case we use a different ORM at some point
+VALIDATION_FAILED = CouchRest::Model::Errors::Validations
+RECORD_NOT_FOUND = CouchRest::Model::DocumentNotFound
+RESOURCE_NOT_FOUND = RestClient::ResourceNotFound