Displaying 1 result from an estimated 1 matches for "girlphotos".
Did you mean:
girl_photos
2011 May 28
4
Rais 3, nested attributes problem with paperclip
I have two models, one model girl and one girl_photos (a file upload
asset). The only code I have in models which describes the association
is:
For the girl => belongs_to :girl and has_attached_file :photo
For the model girl_photos => has_many :girl_photos and
accepts_nested_attributes_for :girl_photos
I''ve tried to save as a nested attribute the photo, it saves the
association