I'm following instructions on the Social Streams github wiki to add in a new model to an application using the Social Streams engine. The instructions are here: https://github.com/ging/social_stream/wiki/How-to-add-new-activity-types
When I attempt to add this line to my model:
include SocialStream::Modules::Object
I get an error:
uninitialized constant SocialStream::Modules
I think I am missing something fundamental here.
My model code is:
class MediaCatagory < ActiveRecord::Base
include SocialStream::Modules::Object
attr_accessible :activity_object_id, :description, :media_cat, :seq, :version
end
EDIT I guess I should ask where should I start looking when getting an error on an include?