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

Using pluck with Calculated Attributes #12

Open
lowjoel opened this issue Apr 15, 2016 · 0 comments
Open

Using pluck with Calculated Attributes #12

lowjoel opened this issue Apr 15, 2016 · 0 comments

Comments

@lowjoel
Copy link
Contributor

lowjoel commented Apr 15, 2016

Currently this gives:

PG::UndefinedColumn: ERROR:  column "unread_topic_count" does not exist
LINE 1: SELECT unread_topic_count FROM "course_forums" WHERE "course...

Loading the association and calling map works, however.

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