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

Two fields, one model. #148

Closed
faucct opened this issue Jul 11, 2014 · 3 comments
Closed

Two fields, one model. #148

faucct opened this issue Jul 11, 2014 · 3 comments

Comments

@faucct
Copy link

faucct commented Jul 11, 2014

Stuff like this doesn't work, only figure files are uploaded correctly, because every field has to use the same attribute ":key" for returned key value.

class Question < ActiveRecord::Base
mount_uploader :video_file, VideoFileUploader
mount_uploader :audio_file, AudioFileUploader
mount_uploader :figure_file, FigureFileUploader
end

@lazaronixon
Copy link

This problem. happened with me too.,

@Ricardonacif
Copy link

I'm facing that. Isn't it supported?

@fabn
Copy link
Collaborator

fabn commented Oct 13, 2015

#159 address this. Wait to see it that PR can be safely merged.

@p8 p8 closed this as completed in 50a7183 Nov 15, 2015
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

4 participants