On Tue, Oct 03, 2006 at 09:22:36AM +0200, Chris Catton wrote:
> Hi,
> I'm new to using ferret (and fairly new to ruby/rails) and I'm having a
> problem I can't fathom. Sorry for the long post ...
[..]
> When I search in my app I get this error
>
> undefined method `exists?' for {:term_vector=>:no, :store=>:no,
> :boost=>1.0, :index=>:yes}:Hash
> RAILS_ROOT: /Users/chrisc/Documents/checkouts/PROS/config/..
>
> Application Trace | Framework Trace | Full Trace
> /opt/local/lib/ruby/site_ruby/1.8/ferret/index/field_infos.rb:20:in
> `initialize'
> #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:166:in
> `rebuild_index'
[..]
> Many thanks for any help ... this is driving me crazy ...
> Rails 1.1.6
> Ruby 1.8.4
> acts_as_ferret from svn
> Ferret 0.10.9
> on mac OS X
>
strange, on my system line 20 in field_infos.rb is inside a comment, and
no use of exists? is made inside the file. Are you sure that
field_infos.rb belongs to Ferrewt 0.10.9 ?
Jens
--
webit! Gesellschaft für neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer [EMAIL PROTECTED]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk