Displaying 1 result from an estimated 1 matches for "twrbydmq".
2012 Jan 17
0
What is the best way to validate a json object? (POST request)
I must create a class (JobClass) and include ActiveModel::Validations?
and then
valided = JobClass.new(params).valid?
The JSON body :
http://pastebin.com/TwRbydmq
I can not create rules corresponding to the validation of the field
"method" ... It can be "concat" or "split" but it is not the first
level.
How can I do?
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed t...