Alright, I am getting new errors now which means I'm making progress
right?
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.constantize
If this is not obvious enough I can post up a full trace on pastie.
Let me know
For the record, my search model now looks like this:
class Search
attr_accessor :query
def initialize(query)
@query = query
end
def do_search
return Article.multi_search(query, [Article, Term])
end
end
And the only remotely ferret related code in Terms and Articles is
acts_as_ferret :fields => { :title => { :boost => 2 }, :body =>
{:index => :untokenized} }_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk