nandosola / dilithium-rb

A tiny framework to power your enterprise-ish stuff in Ruby
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Eliminate BaseEntity attributes #23

Closed mcamou closed 10 years ago

mcamou commented 10 years ago

You can currently define an attribute to be of the type of a specific BaseEntity. With the introduction of references, this is now not recommended. Attributes should only be primitive types or subclasses thereof.

With this change we should also change multi_reference to work like reference :multi => true (and eliminate the :multi parameter)