On Jan 7, 11:58 am, tom
<tomabr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> hi,
>
> i have a"comment" field in my app which is kinda public, but i
still
> want to have certain control over of what a user can enter and what
> not: eg not allowed are
> - email addresses
> - fake string like: "user at gmail com"
> - ...
> - ...
>
> is there anything out there or am i better of using writing my own
"validations"
You can try to write your own, but if there''s a *reason* for users to
try to leave email addresses in comments, some of the creative ones
will figure out ways around your filter. If it''s really a concern,
manual moderation may be the only way to handle the issue.
--Matt Jones
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.