view:
Luke Pearce schrieb:
@images = Image.find(:all, :conditions => ["id = #{image_id}]")
Is this a typo or have you actually done this?
Check the quotes, they are in the wrong place:
@images = Image.find(:all, :conditions => ["id = #{image_id}"])
it's a typo.