sphinxsearchlogic 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- 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'
|