# Ferret Demo Problem

**URL:** <https://www.ruby-forum.com/t/ferret-demo-problem/91443>\
**Category:** Ferret\
**Created:** [April 9, 2007, 9:46am UTC](https://www.ruby-forum.com/t/ferret-demo-problem/91443 "2007-04-09T09:46:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lumao66](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b5a626/32.png) [@lumao66](https://www.ruby-forum.com/u/lumao66)\
**Post date:** [April 9, 2007, 9:46am UTC](https://www.ruby-forum.com/t/ferret-demo-problem/91443/1 "2007-04-09T09:46:17Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![lumao66](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b5a626/32.png) [@lumao66](https://www.ruby-forum.com/u/lumao66)\
**Post date:** [April 10, 2007, 11:12am UTC](https://www.ruby-forum.com/t/ferret-demo-problem/91443/2 "2007-04-10T11:12:56Z")

</div>

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  
removed\_email\_address@domain.invalid | [www.webit.de](http://www.webit.de)

Amtsgericht Dresden | HRB 15422  
GF Sven Haubold, Hagen Malessa

---

<div class="post-metadata">

**Author:** ![lumao66](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b5a626/32.png) [@lumao66](https://www.ruby-forum.com/u/lumao66)\
**Post date:** [April 11, 2007, 9:11am UTC](https://www.ruby-forum.com/t/ferret-demo-problem/91443/3 "2007-04-11T09:11:20Z")

</div>

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  
> removed\_email\_address@domain.invalid | [www.webit.de](http://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
