search for: featuredimag

Displaying 1 result from an estimated 1 matches for "featuredimag".

Did you mean: featuredimage
2007 Apr 21
0
has_many / has_one polymorphic with conditions
...> :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...