Forum: Ferret Naming conflict between Ferret and my own model class

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.
Allen Young (Guest)
on 2007-05-14 12:36
I model for maintaining searches in the database is call "Search" and
Ferret also has a module called "Search". When I include Ferret in my
"Search" model class, naming conflict came out and I got the following
error:

undefined method `new' for Ferret::Search:Module

in the SearchesController, this is because I want to create an instance
of my "Search" model class.

I don't really want to rename my model class, is there any other
solutions? Thanks for help.
This topic is locked and can not be replied to.