Closed hamsterready closed 11 years ago
Awesome! Can we have a test for this? You'd probably want to add it in test/unit/validators.js
Let me know if you need help with this.
Playing with it at the moment, not sure if it works in all cases... as started getting [[model.validatesPresent]] instead of 'generic' message... btw, what is best way of testing changed in dependency to geddy?
Quite new to node/npm so at the moment I have installed model from my form and linked to geddy/node_modules/model... not best way of doing.
You can use npm link to do that. Or create a symlink from node_modules/model to wherever your clone is.
I remember seeing a test in geddy for custom error messages. The text was "Subdivisions!"
Im curious as to why that's passing now. Will check back tonight when I'm free.
Merged, thanks! It turned out that a typo in the tests is why we weren't detecting this problem.
Hi,
I am using geddy and was trying to follow geddy documentation to get custom mode properties validation messages:
however it did not work.
Not sure if attached fix is best way to do it... but it works for me :)