Naming conflict between Ferret and my own model class

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

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs