# Acts\_as\_searchable and Typo

**URL:** <https://www.ruby-forum.com/t/acts-as-searchable-and-typo/71234>\
**Category:** Rails\
**Created:** [October 6, 2006, 10:45am UTC](https://www.ruby-forum.com/t/acts-as-searchable-and-typo/71234 "2006-10-06T10:45:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joergd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@joergd](https://www.ruby-forum.com/u/joergd)\
**Post date:** [October 6, 2006, 10:45am UTC](https://www.ruby-forum.com/t/acts-as-searchable-and-typo/71234/1 "2006-10-06T10:45:42Z")

</div>

Hi. I have a new Typo 4.0.3 installation. And the latest plugin for  
acts\_as\_searchable. When I add acts\_as\_searchable to my Content model, I  
get the following on startup of WEBrick:

=\> Booting WEBrick…  
./script/…/config/…/vendor/rails/activerecord/lib/active\_record/base.rb:1129:i  
n `method_missing': undefined local variable or method`acts\_as\_searchable’ for  
Content:Class (NameError)  
from ./script/…/config/…/app/models/content.rb:7  
from  
./script/…/config/…/vendor/rails/activesupport/lib/active\_support  
/dependencies.rb:140:in `load' from ./script/../config/../vendor/rails/activesupport/lib/active_support /dependencies.rb:56:in`require\_or\_load’  
from  
./script/…/config/…/vendor/rails/activesupport/lib/active\_support  
/dependencies.rb:30:in `depend_on' from ./script/../config/../vendor/rails/activesupport/lib/active_support /dependencies.rb:85:in`require\_dependency’  
from  
./script/…/config/…/vendor/rails/activesupport/lib/active\_support  
/dependencies.rb:98:in `const_missing' from ./script/../config/../vendor/rails/activesupport/lib/active_support /dependencies.rb:131:in`const\_missing’  
from  
./script/…/config/…/vendor/rails/activerecord/lib/active\_record/o  
bserver.rb:131:in `observed_class' ... 14 levels... from ./script/../config/../vendor/rails/activesupport/lib/active_support /dependencies.rb:147:in`require’  
from  
./script/…/config/…/vendor/rails/railties/lib/commands/server.rb:  
30  
from  
C:/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require  
.rb:27:in `require’  
from script/server:3

I don’t understand why. I have an older installation of Typo, which  
starts up fine with acts\_as\_searchable on the same computer … ???

I also have an RForum install which works fine with acts\_as\_searchable.

Why does the new version of Typo not work with it?

Any ideas?

---

<div class="post-metadata">

**Author:** ![joergd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@joergd](https://www.ruby-forum.com/u/joergd)\
**Post date:** [October 9, 2006, 11:13am UTC](https://www.ruby-forum.com/t/acts-as-searchable-and-typo/71234/2 "2006-10-09T11:13:08Z")

</div>

Pls add my EMAIL::removed\_email\_address@domain.invalid

your anwser is that:you don’t add acts\_as\_searchable to your vendor  
directory.

---

<div class="post-metadata">

**Author:** ![joergd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@joergd](https://www.ruby-forum.com/u/joergd)\
**Post date:** [October 9, 2006, 11:17am UTC](https://www.ruby-forum.com/t/acts-as-searchable-and-typo/71234/3 "2006-10-09T11:17:09Z")

</div>

Pls add my EMAIL::removed\_email\_address@domain.invalid

your anwser is that:you don’t add acts\_as\_searchable to your vendor  
directory.

---

<div class="post-metadata">

**Author:** ![joergd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@joergd](https://www.ruby-forum.com/u/joergd)\
**Post date:** [October 9, 2006, 11:21am UTC](https://www.ruby-forum.com/t/acts-as-searchable-and-typo/71234/4 "2006-10-09T11:21:04Z")

</div>

I have acts\_as\_searchable installed as a plugin in the vendor directory.

I’ve also upgraded Typo over an older installation where all this was  
working, and that too didn’t work. So, the older Typo version worked  
with acts\_as\_Searchable, but after upgrading, it no longer worked.

And I have tried a completely fresh install of both Typo and  
acts\_as\_searchable, and too doesn’t work.

But a fresh install of an older Typo and acts\_as\_searchable DOES work.

Very strange, and very frustrating.

Joerg

xi gong wrote:

> Pls add my EMAIL::removed\_email\_address@domain.invalid
> 
> your anwser is that:you don’t add acts\_as\_searchable to your vendor  
> directory.
