I have checked few tutorials, and thing is not working.
Env is rails 4.2 and Paperclip ~4.3.
When having one image, I use 'has_attached_file :image_1' and it works. I need to add 1(maybe 2) images more, when trying:
has_attached_file :image_1 has_attached_file :image_2
approach and creating 2 separate form entries, second image is not saved.
Maybe i am going into not designed direction, anyway this direction seems to have sense for me.
thanks for hints.
Japed, yes, i 'forgot' to add ':image_2' into parameters in controller.
btw rails server log displayed ~'unpermitted paremeter'.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.