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

karma for has_many association #108

Open
vokshirg opened this issue Jun 23, 2016 · 0 comments
Open

karma for has_many association #108

vokshirg opened this issue Jun 23, 2016 · 0 comments

Comments

@vokshirg
Copy link

vokshirg commented Jun 23, 2016

Good day)
Couldn't get karma for has_many association. I have an article and many authors
has_karma :articles, as: :users, weight: [ 1, 0.5 ]
pass as param :users and get:
ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column articles.users_id does not exist
and of course I haven't users_id

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

1 participant