Dear,
I have download the demo of ferret from the following svn
svn://projects.jkraemer.net/acts_as_ferret/trunk/demo
and then i run the demo http://localhost:3005/content
but i got such exception:
undefined method `acts_as_ferret’ for ContentBase:Class
RAILS_ROOT: ./script/…/config/…
Application Trace | Framework Trace | Full Trace
D:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1235:in
method_missing' #{RAILS_ROOT}/app/models/content_base.rb:18 #{RAILS_ROOT}/app/models/content.rb:1 #{RAILS_ROOT}/app/controllers/content_controller.rb:8:in
list’
#{RAILS_ROOT}/app/controllers/content_controller.rb:3:in `index’
-e:4
My configuration:
Rails 1.2.3
ruby 1.8.4 (2006-04-14) [i386-mswin32]
can anyone do me a favour to solve the problem? Thanks a lot.
On Mon, Apr 09, 2007 at 09:46:17AM +0200, Captain F. wrote:
ruby 1.8.4 (2006-04-14) [i386-mswin32]
can anyone do me a favour to solve the problem? Thanks a lot.
I have to admit that I didn’t run the demo application for months. It
basically serves as infrastructure for the unit test suite of
acts_as_ferret.
However from a quick test, it seems to run fine here (Rails 1.2.1, Ruby
1.8.4, Ubuntu). Be sure to set up the table structure by calling
rake db:migrate
before doing anything else. What happens if you try to run the tests?
Jens
–
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[email protected] | www.webit.de
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
Jens K. wrote:
On Mon, Apr 09, 2007 at 09:46:17AM +0200, Captain F. wrote:
ruby 1.8.4 (2006-04-14) [i386-mswin32]
can anyone do me a favour to solve the problem? Thanks a lot.
I have to admit that I didn’t run the demo application for months. It
basically serves as infrastructure for the unit test suite of
acts_as_ferret.
However from a quick test, it seems to run fine here (Rails 1.2.1, Ruby
1.8.4, Ubuntu). Be sure to set up the table structure by calling
rake db:migrate
before doing anything else. What happens if you try to run the tests?
Jens
–
Jens Kr�mer
webit! Gesellschaft f�r neue Medien mbH
Schnorrstra�e 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[email protected] | www.webit.de
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
Dear Jens,
Thank you very much, maybe it’s the problem of my gem. Actually i
have re-installed the latest ruby and rails, after that, i installed
act_as_ferret plugin instead of the gem way, now i can run the demo as
well as my own app smoothly.
Thank you anyway!!!
captain