Skip to content

Commit

Permalink
Enforce devise support
Browse files Browse the repository at this point in the history
  • Loading branch information
atd committed Oct 14, 2010
1 parent d36dd91 commit e54c3cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Expand Up @@ -25,6 +25,7 @@ application towards a well-known compatible data model design.
It requires Rails 3. A gem for strength hierarchies in relations is required. Add to your Gemfile:

gem 'atd-ancestry', :require => 'ancestry'
gem 'devise'

and

Expand All @@ -47,8 +48,7 @@ This will generate the following:

== Actors and Activity Objects

{Social Stream}[http://github.com/ging/social_stream] relies in other authentication solutions like
Authlogic[http://github.com/binarylogic/authlogic] or Devise[http://github.com/plataformatec/devise].
{Social Stream}[http://github.com/ging/social_stream] relies in Devise[http://github.com/plataformatec/devise].

You must include an <tt>actor_id</tt> column in the user's migration. Then add user to
<tt>config/initializers/social_stream.rb</tt>
Expand Down
2 changes: 2 additions & 0 deletions lib/social_stream/railtie.rb
@@ -1,5 +1,7 @@
module SocialStream
class Railtie < Rails::Railtie
config.generators.authentication :devise

config.to_prepare do
%w( actor activity_object ).each do |supertype|
supertype.classify.constantize.load_subtype_features
Expand Down

0 comments on commit e54c3cd

Please sign in to comment.