• Hi,

    I am using Rails 2.2.2 and Rakismet 0.3.5

    I am in the process of implementing Rakismet in my rails application,

    I am always getting the response as ‘false’ for @comment.spam? even though i submit the comment as spam (ie, @comment.spam!)

    I have tried debugger in plugin itself,

    So i can sure that my key and url is valid ( in plugin -> rakismet -> lib -> rakismet.rb -> self.valid_key => ‘valid’)

    Plugin results
    —————

    @comment.spam? response is ‘false’
    [_, response] => [#<Net::HTTPOK 200 OK readbody=true>, ‘false’]

    @comment.spam! response is “Thanks for making the web a better place.”
    Rakismet::Base.akismet_call(‘submit-spam’, akismet_data) => [#<Net::HTTPOK 200 OK readbody=true>, “Thanks for making the web a better place.”])

    @comment.spam? response is ‘false’
    [_, response] => [#<Net::HTTPOK 200 OK readbody=true>, ‘false’]

    Where i am doing the mistake?

    Any one can expalin me?

    Thanks in advance…

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Rakismet problem’ is closed to new replies.