has_searcher 0.0.6 → 0.0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ class Search < ActiveRecord::Base
29
29
  if column_for_attribute(column).type == :text
30
30
  if fuzzy?(value)
31
31
  search.adjust_solr_params do |params|
32
- p params[:q] = value.split(/ /).map{ |value| "#{column}_text:#{value}"}.join(' ')
32
+ params[:q] = value.split(/ /).map{ |value| "#{column}_text:#{value}"}.join(' ')
33
33
  end
34
34
  else
35
35
  search.keywords value, :fields => column
@@ -1,3 +1,3 @@
1
1
  module HasSearcher
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.6.1"
3
3
  end
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 0
8
8
  - 6
9
- version: 0.0.6
9
+ - 1
10
+ version: 0.0.6.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Dmitry Lihachev
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-04-23 00:00:00 +07:00
18
+ date: 2011-04-24 00:00:00 +07:00
18
19
  default_executable:
19
20
  dependencies: []
20
21