On 10 August 2010 09:54, Appu <[email protected]> wrote:
> Hi, i am using Savage Beast 2.3 plugin for the forum and i got and
> error
>
>
> undefined method `has_many' for Object:Class
>
> C:/forum/vendor/plugins/savage-beast/lib/savage_beast/user_init.rb:
> 9:in `included'
> C:/forum/vendor/plugins/savage-beast/lib/savage_beast/user_init.rb:
> 7:in `class_eval'
> C:/forum/vendor/plugins/savage-beast/lib/savage_beast/user_init.rb:
> 7:in `included'
> C:/forum/app/models/user.rb:2:in `include'
> C:/forum/app/models/user.rb:2
> C:/forum/app/controllers/users_controller.rb:16:in `create'
>
>
> please help me to resolve this problem.

Does your User class inherit from ActiveRecord::Base?

Chris

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to