# Ultrasphinx search error... Invalid class name

**URL:** <https://www.ruby-forum.com/t/ultrasphinx-search-error-invalid-class-name/162147>\
**Category:** Rails\
**Created:** [March 6, 2009, 8:18am UTC](https://www.ruby-forum.com/t/ultrasphinx-search-error-invalid-class-name/162147 "2009-03-06T08:18:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [March 6, 2009, 8:18am UTC](https://www.ruby-forum.com/t/ultrasphinx-search-error-invalid-class-name/162147/1 "2009-03-06T08:18:54Z")

</div>

I’ve got Ultrasphinx powering the search on my Rails app. It’s working  
with all of my models when they’re first indexed, but then, after what  
seems like a random amount of time, I’ll get the following error on  
just _one_ of my models:

search#show (Ultrasphinx::UsageError) “Invalid class name "Playlist  
"”

I set up this model like so:

[http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/5b48ce4d0de24493/fea38ecd29eaa68b](http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/5b48ce4d0de24493/fea38ecd29eaa68b)

…and like I said, it works just fine off the bat. But eventually  
something goes wrong and I get the error above. Any ideas what could  
be happening here?

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [March 9, 2009, 10:45pm UTC](https://www.ruby-forum.com/t/ultrasphinx-search-error-invalid-class-name/162147/2 "2009-03-09T22:45:24Z")

</div>

Any suggestions on this one? Still having this problem, not sure where  
to start troubleshooting.
