Browse files

removed InstanceMethods module scope due to deprecation warning in Ra…

…ils 3.2+
  • Loading branch information...
1 parent 417e6dd commit 31b55e9e4a3efb07dfbf14b8e99833010b8e983c Hck committed Feb 9, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/mongoid_search/mongoid_search.rb
View
7 lib/mongoid_search/mongoid_search.rb
@@ -97,11 +97,8 @@ def index_keywords!
end
end
- module InstanceMethods #:nodoc:
- # Indexes the document keywords
- def index_keywords!
- update_attribute(:_keywords, set_keywords)
- end
+ def index_keywords!
+ update_attribute(:_keywords, set_keywords)
end
private

0 comments on commit 31b55e9

Please sign in to comment.