tenderlove/texticle — Issue #58: search_by_<:string> exists, search_by_<:body> not
Author: tudormunteanu
Created: 2011-11-22 10:52:35+00:00
State: open

Hi,

I noticed that the search_by_ methods exist for string fields, but not for text fields, even though both are searchable.

E.g.

`
class Article < ActiveRecord::Base
title :string
body :text
end
`
`
ruby-1.9.2-p290 :006 > Article.respond_to?"search_by_title"
=> true
ruby-1.9.2-p290 :007 > Article.respond_to?"search_by_body"
=> false
`