Allen Young
2007-May-14 08:36 UTC
[Ferret-talk] 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 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. -- Posted via http://www.ruby-forum.com/.