8000 karma for has_many association · Issue #108 · bouchard/thumbs_up · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
karma for has_many association #108
Open
@vokshirg

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

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

      0