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

Please help with setup #162

Closed
kadder opened this issue Jul 16, 2014 · 10 comments
Closed

Please help with setup #162

kadder opened this issue Jul 16, 2014 · 10 comments

Comments

@kadder
Copy link

kadder commented Jul 16, 2014

Hi,guys! I am trying to connect public_activity to mongoid and now I am stuck at this message:

/config/initializers/public_activity.rb:1:in <top (required)>': undefined methodconfigure' for PublicActivity:Module (NoMethodError)

@pokonski
Copy link
Member

What does your Gemfile look like? Do you have public_activity in there?

@kadder
Copy link
Author

kadder commented Jul 16, 2014

I solved this issue, but now I have another one) I am using ActiveRecord for project,and I want to use mongodb+mongoid only for public_activity. Is this possible?

@pokonski
Copy link
Member

It's not possible to have associations between activities in Mongoid and everything else in ActiveRecord.

@kadder kadder closed this as completed Jul 16, 2014
@ericraio
Copy link

How did you solve it?

@sittitep
Copy link

PublicActivity.config.orm :mongoid

This does the trick for me.

@miguelespada
Copy link

Same problem, same solution (as @sittitep):

PublicActivity.config.orm :mongoid

@dfabreguette
Copy link

Same prob same solution.
Is the readme file wrong then ?
If so it would be great to fix it for next users. Thanks !

@pokonski
Copy link
Member

The solution is at the top of the README actually. Please read it from the top. Go here and click the link for 1.4 docs. https://github.com/chaps-io/public_activity#version-notice

@dfabreguette
Copy link

All right, sorry about that !

@pokonski
Copy link
Member

No worries, David :) I will make that section pop up way more, because it
confuses many people, so a valid bug report :D

On 27 October 2015 at 09:06, David Fabreguette notifications@github.com
wrote:

All right, sorry about that !


Reply to this email directly or view it on GitHub
#162 (comment)
.

Piotr Okoński
piotrek@okonski.org | +48 792 097 151

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

No branches or pull requests

6 participants