easy_search_form 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/easy_search_form/version.rb +1 -1
- data/lib/easy_search_form.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72558bcc2e129e04d7921c78823c21fe9ba91347
|
4
|
+
data.tar.gz: 5ecd0fceeb317e05e68a73e17b610e832c10560a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e452d03aa9553c3144c511dab69076c6410f6c5040ca4ede29d96ba9599acba0e1ebe1ca76d42e2e1f317e88c634e8bfea9494a0033a72ee68e7b9e1a5255c
|
7
|
+
data.tar.gz: 4a5366b9e2b4fafac9cbb54c6b2bbdcadc373df9307c33babd5f4aab34851225168d368e9f369f1fd2ff1b4b3f094e2c45763fc9e173b1fd653bfe6601ee70e8
|
data/lib/easy_search_form.rb
CHANGED
@@ -22,7 +22,6 @@ module EasySearchForm
|
|
22
22
|
condition_type = nil
|
23
23
|
|
24
24
|
if opt.instance_of?(Hash)
|
25
|
-
debugger
|
26
25
|
case opt[opt.keys.first]
|
27
26
|
when :equals
|
28
27
|
condition_type = "="
|
@@ -47,7 +46,7 @@ module EasySearchForm
|
|
47
46
|
|
48
47
|
where(conditions)
|
49
48
|
else
|
50
|
-
|
49
|
+
where(nil)
|
51
50
|
end
|
52
51
|
end
|
53
52
|
end
|