Skip to content

Commit

Permalink
Merge pull request #22 from vinova/c1d1959907f16b6ab58043b2e9d8cd25ad…
Browse files Browse the repository at this point in the history
…4f8f22

Fix for Ruby 1.8
  • Loading branch information
Mauricio Zaffari committed Jun 13, 2011
2 parents 52d5249 + c1d1959 commit 03aabf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongoid_search/mongoid_search.rb
Expand Up @@ -17,7 +17,7 @@ def search_in(*args)
self.search_fields = (self.search_fields || []).concat args

field :_keywords, :type => Array
index :_keywords, background: true
index :_keywords, :background => true

before_save :set_keywords
end
Expand Down

0 comments on commit 03aabf0

Please sign in to comment.