Displaying 1 result from an estimated 1 matches for "markable_typ".
Did you mean:
markable_type
2006 Apr 22
0
Is it possible to have one class containing tw
...ecord::Base
has_one :property_name
has_one :property_value
end
, which isn''t that unnatural -- however, just having additional classes
holding, only id references, seems like not as great as if the
polymorphic implementation in Mark class can actually allow Class#Field
as the value for markable_type.
What do you think? Any other suggestion? (BTW, yes, I suppose
Property can add :through assocation to directly access :markable for
convenience.)
Thanks!
--
Posted via http://www.ruby-forum.com/.