active_scaffold 3.4.21 → 3.4.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/lib/active_scaffold/finder.rb +1 -0
- data/lib/active_scaffold/version.rb +1 -1
- 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: 2641f0115e9a352a90a64c42516c93cb70ad96ae
|
4
|
+
data.tar.gz: b4e82f29dba536593087b6571ec625bd54ce3fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c225344ba6e0af85bd7241d6acaa6f159f7948b5827339f019393d0b8c6306f0b929101db99344446b1ee7001b3df223465bfc54e48031cac12f82b69ed94591
|
7
|
+
data.tar.gz: 3afa6ed037ae641dea1539a983a9c1dad535df70e783b1582376841508154156fab0a736a35ab836eaebf0b75f85be79d6cae97a2c9e2f36d790adc649744559
|
data/CHANGELOG
CHANGED
@@ -37,6 +37,7 @@ module ActiveScaffold
|
|
37
37
|
# TODO: this should reside on the column, not the controller
|
38
38
|
def condition_for_column(column, value, text_search = :full)
|
39
39
|
like_pattern = like_pattern(text_search)
|
40
|
+
value = value.with_indifferent_access if value.is_a? Hash
|
40
41
|
if self.respond_to?("condition_for_#{column.name}_column")
|
41
42
|
return send("condition_for_#{column.name}_column", column, value, like_pattern)
|
42
43
|
end
|