I''m looking for a way to make this work (I think the code is more explanatory at this point): ## THIS WORKS has_many :images, :as => :imageable, :dependent => :destroy, :order => ''position ASC'' # @product.images => # ## THIS DOESNT has_one :featured_image, :as => :imageable, :conditions => "position 1" # @product.featured_image => NameError: uninitialized constant Product::FeaturedImage ...I could always add a "featured_image" method to the product model, but I wanted to see if this was possible first. Thanks J -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---