Skip to content

Commit

Permalink
FIX for ruby 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendung committed Jun 1, 2011
1 parent 52d5249 commit c1d1959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongoid_search/mongoid_search.rb
Original file line number Diff line number Diff line change
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 c1d1959

Please sign in to comment.