summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-26 10:59:50 +0100
committerAzul <azul@leap.se>2012-11-26 10:59:50 +0100
commitce0999ead0d61db1f6534ee9d8114c4551542e80 (patch)
tree40600388d20ecda99a23ec89c15ee715450ff824 /config/initializers
parent76a3b91ad78d12ef82a0c01ca702720a510f1e22 (diff)
minor: client side validations fixed + .json request
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/client_side_validations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/client_side_validations.rb b/config/initializers/client_side_validations.rb
index 2c73fa3..252aded 100644
--- a/config/initializers/client_side_validations.rb
+++ b/config/initializers/client_side_validations.rb
@@ -1,7 +1,7 @@
# ClientSideValidations Initializer
# Uncomment to disable uniqueness validator, possible security issue
-# ClientSideValidations::Config.disabled_validators = [:uniqueness]
+ClientSideValidations::Config.disabled_validators = [:uniqueness]
# Uncomment the following block if you want each input field to have the validation messages attached.
ActionView::Base.field_error_proc = Proc.new do |html_tag, instance|