Rakismet 1.0+ only works on Rails 3. Replace your gem with Rakismet
0.4.2.

On Jan 19, 8:10 am, preeti grover <[email protected]> wrote:
> Hi,
>
> I am using community-facebooker v1.0.61 , rails 2.3.8 and ruby 1.8.7
> with  installed  rakismet 1.0.1 gem .
>
> Here is my model on which i would like to add comments
>
> class Product < ActiveRecord::Base
>   acts_as_taggable
>   acts_as_commentable
> end
>
> When I am posting comment, I get this error .
>
> NoMethodError (undefined method `request' for Rakismet:Module):
>   rakismet (1.0.1) lib/rakismet/model.rb:69:in `akismet_data'
>   rakismet (1.0.1) lib/rakismet/model.rb:55:in `each'
>   rakismet (1.0.1) lib/rakismet/model.rb:55:in `inject'
>   rakismet (1.0.1) lib/rakismet/model.rb:55:in `akismet_data'
>   rakismet (1.0.1) lib/rakismet/model.rb:36:in `spam?'
>   vendor/plugins/community_engine/app/models/comment.rb:124:in
> `check_spam''
>
> I am not sure what is the source of this issue .
> Please help me in resolving this . Do let me know if any additional
> information is required.
>
> Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to