Forum: Ruby on Rails Spam in my comments

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
bingo b. (Guest)
on 2008-12-20 00:39
I've started to get problems with my rails site, I've had loads of
comments containing stuff like this...

What can I do (have taken the site down for now).

I'm after a really simple solution, can i just do some clever validation
to fail this cr&p?

I don't really want to implement captcha or the like if I can avoid it.

Site is down for now until I figure a solution, please let me know if
you can help?


Maurício L. (Guest)
on 2008-12-20 00:41
(Received via mailing list)
You might use negative captchas, require login, common captchas, the
askimet web service, there are plenty of ways to avoid spamming :)

Maurício Linhares (pt-br) |

On Fri, Dec 19, 2008 at 7:39 PM, bingo bob
bingo b. (Guest)
on 2008-12-20 00:42
OK but what about just validation statements in the models?

Can I do it like that, maybe screening for some regex's ?
Maurício L. (Guest)
on 2008-12-20 00:45
(Received via mailing list)
For what? A link?

Your user could paste a link.

There's no easy way to tell that a comment is a spam (you would need a
tool to perform analysis on the comment content to mark it as spam,
that's exactly what tools like Askimet do).

Maurício Linhares (pt-br) |

On Fri, Dec 19, 2008 at 7:42 PM, bingo bob
Ryan B. (Guest)
on 2008-12-20 03:54
(Received via mailing list)
acts_as_snook is great for capturing stuff like that:
Ryan B.
bingo b. (Guest)
on 2008-12-21 17:51
superb, thanks! I put Snook in place. Looks great.

This topic is locked and can not be replied to.