sphinxsearchlogic 0.9.2 → 0.9.3
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.
- data/lib/sphinxsearchlogic.rb +1 -1
- metadata +2 -2
data/lib/sphinxsearchlogic.rb
CHANGED
|
@@ -208,7 +208,7 @@ module Sphinxsearchlogic
|
|
|
208
208
|
else
|
|
209
209
|
if name =~ /^with(out|_all)?_(\w+)$/
|
|
210
210
|
attribute_name = $2
|
|
211
|
-
attribute_name = attribute_name.gsub(/_before_type_cast
|
|
211
|
+
attribute_name = attribute_name.gsub(/_before_type_cast$/, '').to_sym
|
|
212
212
|
if is_sphinx_attribute?(attribute_name)
|
|
213
213
|
# Put in with / without / with_all depending on what the regexp matched.
|
|
214
214
|
if $1 == 'out'
|