Sha256: 8e5c34e0b3ad81f2c0be5ec40ba96a06363487b34c1c2cac8847345a52c801fa
Contents?: true
Size: 726 Bytes
Versions: 1
Compression:
Stored size: 726 Bytes
Contents
SocialStream.setup do |config| # List the models that are social entities. These will have ties between them. # Remember you must add an "actor_id" foreign key column to your migration! # # config.actors = [:user ] # Include devise modules in User. See devise documentation for details. # Others available are: # :token_authenticatable, :confirmable, :lockable, :timeoutable, :validatable # config.devise_modules :database_authenticatable, :registerable, # :recoverable, :rememberable, :trackable # Type of activities managed by actors # Remember you must add an "activity_object_id" foreign key column to your migration! # # config.activity_objects = [ :post, :comment ] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
social_stream-0.0.4 | lib/generators/social_stream/templates/initializer.rb |