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

PG::UndefinedColumn: ERROR: column projects.form_proposal_attachment does not exist #3063

Open
nikoloutsa opened this issue Aug 31, 2018 · 0 comments

Comments

@nikoloutsa
Copy link

I get this error when trying to sort in list view for a model with file attachments.

PG::UndefinedColumn: ERROR:  column projects.form_proposal_attachment does not exist
LINE 1: SELECT  "projects".* FROM "projects" ORDER BY projects.form_...
                                                      ^
: SELECT  "projects".* FROM "projects" ORDER BY projects.form_proposal_attachment asc LIMIT $1 OFFSET $2
class Project < ApplicationRecord
  has_one_attached :form_proposal

Rails 5.1 ,RailsAdmin 1.4.0

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