Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

added support for mongoid #54

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

added support for mongoid #54

wants to merge 15 commits into from

Conversation

dcu
Copy link

@dcu dcu commented Oct 2, 2011

please let me know if you need something else

dcu added 5 commits September 28, 2011 12:52
Signed-off-by: David A. Cuadrado <[email protected]>
Signed-off-by: David A. Cuadrado <[email protected]>
Signed-off-by: David A. Cuadrado <[email protected]>
end

if defined?(Mongoid::Document)
Mongoid::Document::ClassMethods.send(:include, Xapit::Client::Membership::ClassMethods)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why? I want those methods available on sinatra too, that's not rails exclusive

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good, then is a good idea move the AR one to active_record_adapter.rb

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then is a good idea move the AR one to the adapter also :)

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

Successfully merging this pull request may close these issues.

4 participants