vinsol / nested_attributes_uniqueness

MIT License
1 stars 6 forks source link

Option to have custom error message #5

Open vraravam opened 8 years ago

vraravam commented 8 years ago

Could you please accept a message key as part of the options hash - so that we can set our own custom value? Current state is that our internal collection name is exposed to the end-user - which we would like to avoid.

akshay-vishnoi commented 8 years ago

Hi @vraravam, Thanks for reporting this issue. Yeah, we can add this change. Would you mind raising a PR for this?