I fully understand captcha, and already implemented to my app. It's working fine so far.
Obviously, it'll be annoying if it asks you captcha code to type in every time you wanna post:(
Now I'm thinking of the way comparing current time with the time the user posed last time. If it's Post model, and it has its created_at(Timestamp)
How can I write in my controller? I'd like to use 'before filter' checking when it does create. and I want user to wait at least 1 min to post next post.
should it be something like this below? I'm so newbie to Rails. Please help!
def spam_check
@post = Post.find_by_user_id(current_user.id)
lasttime = @post.created_at.last
end