Permalink
Browse files

class << self; attr_reader :descendants; end; was removed because Rai…

…ls 3 Mongo Mapper handles Descendants.
  • Loading branch information...
1 parent b967045 commit 1c40ddb09723fd80dbc2d77642cfd433accb1a62 @digioi digioi committed Mar 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/devise/orm/mongo_mapper_active_model.rb
@@ -12,7 +12,7 @@ def devise_modules_hook!
include ActiveModel::Validations
include ActiveModelCompatibility
include Compatibility
- class << self; attr_reader :descendants; end;
+ #class << self; attr_reader :descendants; end;
def self.validates_uniqueness_of(*fields)
validates_with UniquenessValidator, _merge_attributes(fields)

0 comments on commit 1c40ddb

Please sign in to comment.