couchbase / couchbase-ruby-model

The Active Model implementation for Couchbase Server built on couchbase-ruby-client
61 stars 23 forks source link

Validation doesn't return error message #9

Open glava opened 11 years ago

glava commented 11 years ago

I would like to get message what field isn't valid. Validation is working but it is always just returning false. I explicitly called errors method and just got the hash of the object with empty message object.

Is there a way that I can get message that describes what field isn't validated? Maybe you can point me how I can help in fixing this so that we improve validation.