class Property <ActiveRecord:: Base
   has_many: values,: class_name => "ProductProperty"
End
It was in the original model.


In the amended accordingly will:
class Property <ActiveRecord:: Base
   has_many :string_values,: class_name => "ProductPropertyString"
   has_many :integer_values,: class_name => "ProductPropertyInteger"
   has_many :boolean_values,: class_name => "ProductPropertyBoolean"
End

But I think this solution is clumsy.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to