views:

36

answers:

0

It's weird I can build a model from scratch and get my model to work using two search fields body and title but then when I rebuild with a more custom model it doesnot work.

When I do a .script/console i have this for the working model

Post.search 'foobar' => [#]

but whenI use my custom model with .script/server I get :

Post.search 'foobar' => []

please help.

sg