Taylor Otwell Sat Nov 13 14:55:24 -0500 2010

Subject: Fulltext Searches?

What is the best way to execute a MySQL Fulltext search using ActiveRecord?

For instance, let's say I have a Post table with columns Title and Description. I want to do a Fulltext search on Title and Description and return the Post objects.

Thanks!


Kien La Mon Nov 15 21:20:14 -0500 2010

There's nothing built to handle this for you automatically so you'd just need to do the query manually using http://www.phpactiverecord.org/docs/ActiveRecord/Model#methodfind_by_sql

(1-1/1)