Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed 'undefined method has_attached_file for' error #7

Closed
wants to merge 5 commits into
from

Conversation

Projects
None yet
2 participants

When you click "Show" on a row in the Database Mailer subtab, Rails threw an error that read, "undefined method 'has_attached_file' for ..." I required paperclip above the FormDataAsset class, and this fixed the error.

Note that I incorporated divineforest's changes into my bug fix branch. He submitted a pull request for these changes already.

divineforest and others added some commits Oct 6, 2010

Fixes in FormData.find_all_group_by_url:
PGError: ERROR:  column "form_datas.id" must appear in the GROUP BY clause or be used in an aggregate function
: SELECT * FROM "form_datas"  GROUP BY url
PostgreSQL error

I'm closing this PR, since it's over six years old 😄

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