Displaying 1 result from an estimated 1 matches for "website_images_with_options".
2005 Aug 22
1
XML Builder question (Brain Teaser? or At A Total Loss?)
...ve my ass?
Basically, I have Images which have many Options (intended to
represent different shirt sizes, for example, and their corresponding
prices). I''ve written custom SQL to pull out just the images that
belong to a particular website, as you can see in my controller:
def website_images_with_options
@images = Image.find_by_sql(["select images.*
from images
join categories on
images.category_id = categories.id
join websites on
categories.website_id = websi...