Permalink
Browse files

Remove non-working attempt

  • Loading branch information...
1 parent a1f5a24 commit 9b5eaa87c61eb7155b6aa0d03960245847d7c46c @ryw ryw committed Sep 30, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/mongo_followable/followed.rb
@@ -6,10 +6,8 @@ module Followed
included do |base|
if defined?(Mongoid)
base.has_many :followers, :class_name => "Follow", :as => :followable, :dependent => :destroy
- @db = Mongoid.default_session
elsif defined?(MongoMapper)
base.many :followers, :class_name => "Follow", :as => :followable, :dependent => :destroy
- @db = MongoMapper.database
end
end

0 comments on commit 9b5eaa8

Please sign in to comment.