Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace all constants #30

Closed
wants to merge 33 commits into from

Conversation

semaperepelitsa
Copy link
Contributor

I've namespaced Log class and Util module under MongoidSearch so that they don't collide with Log and Util constants in my application which are pretty common names. I didn't put them into Mongoid::Search because they would be included in models and may have collisions there. I also removed meaningless InstanceMethods module (which is also deprecated in AS 3.2) and put methods directly in the module.

@Nerian
Copy link

Nerian commented Jan 28, 2012

+1

@semaperepelitsa
Copy link
Contributor Author

I have pushed my fork as mongoid_search2 gem, it also supports multiple keyword stemming libraries.

@mauriciozaffari
Copy link
Collaborator

Just namespaced the Modules. If someone is willing to implement different stemmers on top of the new release, please do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants