Answer the question
In order to leave comments, you need to log in
Rails/Carrierwave multiple upload by URL?
Tell me how to upload images for the user, having an array of urls
User model
class User< ActiveRecord::Base
has_many :images
accepts_nested_attributes_for :images
end
class Image < ActiveRecord::Base
mount_uploader :image, ImageUploader
belongs_to :user
end
Answer the question
In order to leave comments, you need to log in
I mean, write models, controllers, routes and views for you?
Well, you understood everything correctly - and that carrierwave needs to be hung on a separate model. And that nested_attributes should be used.
With this wording, you give us freelancing. Here - with specific questions. What doesn't work, where are you stuck?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question