search for: preview_imag

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

Did you mean: preview_image
2006 Jan 26
0
setting default on "has_one" failure
Hi there, I have a model for a Film, which: has_and_belongs_to_many :artists has_many :stills has_one :preview_image, :class_name => "Still", :conditions => "priority=''main''" the has_one:preview_image and has_many:stills obviously draw from the same table. I was wondering if there is a way to set a default value f...