You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: