Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Do not report error here yet, also reports for dates

  • Loading branch information...
commit abca990efee2fd356951e6cbdfd5783aa8ab0967 1 parent bce1977
@ereslibre authored
View
3  app/controllers/realtime_validations/validations_controller.rb
@@ -11,9 +11,8 @@ def validate
begin
field = identify_field
rescue RealtimeValidationsExceptions::InvalidData
- errors = Rails.env.production? ? [] : ['could not identify field']
render :json => { :field => params[:field],
- :errors => errors }
+ :errors => [] }
return
end
model = retrieve_or_create_model args, params[:model]
View
2  lib/realtime-validations/version.rb
@@ -1,3 +1,3 @@
module RealtimeValidations
- VERSION = '0.3.0'
+ VERSION = '0.3.1'
end
Please sign in to comment.
Something went wrong with that request. Please try again.