Displaying 1 result from an estimated 1 matches for "fiilename".
Did you mean:
filename
2007 Oct 24
0
STI vs CTI vs something else?...
...ename
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 Goo...