Hey gang, I have these classes: class Image < UploadFile validates_file_format_of :filename, :in => ["gif", "png", "jpg"] end class UploadFile < PropertyItem file_column :filename validates_presence_of :filename end class PropertyItem < ActiveRecord::Base validates_presence_of :name end What I''m trying to achieve is a class inheritance tree with multiple STIs. So, Image would have a column caption:string in it''s table, and UploadFile a column fiilename:string, whereas PropertyItem would have created_at, updated_at and such. Is this possible at all? I''m really stumped... thanks! -- 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 -~----------~----~----~----~------~----~------~--~---