Displaying 1 result from an estimated 1 matches for "pop_imag".
Did you mean:
pop3imap
2006 Mar 27
0
update subset of my data
...image_pages, @popp_images = paginate :popp_images, :per_page
=> 10
end
in my view:
<%
odd_or_even = 0
for popp_image in @popp_images
odd_or_even = 1 - odd_or_even
%>
<% if (@dealer == nil) || (@dealer == popp_image.albumid)%>
this 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 => :...