Forum: Ferret Problem with acts_as_ferret demo

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cass A. (Guest)
on 2007-07-28 09:57
Hi Jens,

I copied the demo folder into my rails apps and also created the
ferret_production and ferret_test databases.

when I start the server and type this in the browser:

localhost:3000/content

I get the following error:

NameError in ContentController#new

uninitialized constant Ferret::Search::BooleanClause
RAILS_ROOT: ./script/../config/..

Application Trace | Framework Trace | Full Trace
F:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:263:in
`load_missing_constant'
F:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in
`const_missing'
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/a

Could you please tell me what's going wrong?

Cheers

Cass
This topic is locked and can not be replied to.