Prawn is working fine in development but in production, my app is not even opening. When I check production logs I get a looping message
production.log
...
19x.xxx.xxx.xxx: Connecting to database specified by database.yml
19x.xxx.xxx.xxx: Connecting to database specified by database.yml
19x.xxx.xxx.xxx: Connecting to database specified by database.yml
19x.xxx.xxx.xxx: Connecting to database specified by database.yml
...
Hi Erik, the inverse_of didn't work. The fileupload method is being used on the form of a parent resource. When I choose the files (multiple nested img resource) and upload it, a parent resource is being created as many times as files uploded with only one pic in it, instead of one parent with many pics.
Hi, How would you implement this with a nested resource. For example I have a form for a item with nested pictures. How can I implement the fileupload() method to the items form?
Where you able to fix this problem? If so, can you let me know what the bug is?
Prawn is working fine in development but in production, my app is not even opening. When I check production logs I get a looping message
How do you close it?
Hi Erik, the inverse_of didn't work. The fileupload method is being used on the form of a parent resource. When I choose the files (multiple nested img resource) and upload it, a parent resource is being created as many times as files uploded with only one pic in it, instead of one parent with many pics.
Hi, How would you implement this with a nested resource. For example I have a form for a item with nested pictures. How can I implement the fileupload() method to the items form?
Thanks!