开发者

Using metasearch's contains search option for non-string data types

开发者 https://www.devze.com 2023-04-07 06:56 出处:网络
While using metasearch gem to do a somewhat complex search I got an error when using the \"_contains\" option an numerical(decimal) field and later found out i开发者_Go百科n the documentation that it

While using metasearch gem to do a somewhat complex search I got an error when using the "_contains" option an numerical(decimal) field and later found out i开发者_Go百科n the documentation that it in only works on string data type fields. Since metasearch doesn't work with virtual attributes I can't think of a way to achieve this .Are there any workarounds for this? Thanks, Alex

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号