Hi, I hope this is the correct way to announce a new gem: validation_hints

https://github.com/acesuares/validation_hints
https://rubygems.org/gems/validation_hints

It's purpose is to get a list of 'hints' derived from validation on a model 
or attribute. These hints then could be used in the user interface, for 
instance for displaying a tooltip or other context-sensitive help.

It's very crude yet but it works for the basic (built-in) validations 
(Rails 3.2.3). It does not work with Custom Validators yet and also doesn't 
take in account some options like :allow_blank.

I welcome improvemets and other reactions, and hope similar functionality 
will be added to AM/AR.

Cheers
ace suares


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/5HQh-XBdWFQJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to