Skip to content

karma for has_many association #108

Description

@vokshirg

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions