Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #32 from hck/master

removed InstanceMethods module scope due to deprecation warning in Rails 3.2+
  • Loading branch information...
commit e493a9e5b8a0e5d7d989ff4be7693920822335c5 2 parents 417e6dd + 31b55e9
@mauriciozaffari authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.