Topic: Carrierwave photo upload not working the way i want
I am building a photo uploader for my app. I have made a Photo model so that a user can have more photos "assigned" to it. I want to be able to see all the photos that a user has uploaded.
My problem is that when I upload a photo it is not registered anywhere in the database hence I am not able to view the photos. I am not sure where I am making a mistake, but I have also been having some problems with the fields_for block in the edit.html.erb. If I try to assign it to the form_for block by putting "f." in front of fields_for, the block will not show.
I have made a Gist with the code that I think is necessary for you guys to point me in the right direction or help me out.
https://gist.github.com/4081673
Last edited by r08o (2012-11-21 08:25:33)