Displaying 1 result from an estimated 1 matches for "dealer_images".
2006 Mar 27
0
update subset of my data
...his works fine.
I am stuck on updating multiple pop_images i.e the whole six in the
album (dealer)
here''s what I have:
def update
# @dealer assign to current users albumid
@dealer = current_user.albumid
@dealers = Dealer.find(params[:id], :include => :dealer)
@dealer_images = PoppImage.find(params[:id], :include => :dealers)
if @popp_image.update_attributes(params[:popp_image])
flash[:notice] = ''Your image was successfully updated.''
redirect_to :action => ''show'', :id => @popp_image
else
render :ac...