Hi,
Let me preface by saying I am very new to ferret and aaf.

Anyhow, I'm using the aaf plugin on a model named Book.  This model isnt
a typical rails model in the fact that it doesnt have an "id" column as
its primary key but instead has a string column named ISBN that is used
as the primary key.  When I try to search for anything in the model
using find_by_contents it never finds anything.  Trying to troubleshoot,
I added an id column in my model as an integer and made it auto
increment.  Once I added this, added my sample data back in, and rebuilt
my index, I noticed that I could search all of a sudden using
find_by_contents.  I changed it back again, and then my searches had no
results.  I was wondering if there is anything to get it to work without
having to add an id field to my model?

Many thanks for your help in advance!
-Chris

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to