My app has a listings table(:name, :description)
and a pictures table(:image_id, :listing_id)
. I am using a nested form(tabbed) for getting all this info and its working fine with gem carrierwave
. For the last couple of days I am trying to add amazon s3 direct image uploading feature to my rails application. But it seems like its hard to accomplish this in a nested form. So i am planning to list all image_url in the listing table itself. As its all just url's of the real image is it a good idea to do it this way? (i will only allow maximum 8 images per listing)??
I am planning to do this with refile if possible. Looking for someone to shed some light into this topic...Thanks in advance for trying to help :)