How do I add arbitrary attributes to an AR model?
It would appear that simply adding instance vars with accessors to an
AR model doesn’t actually work the same way as a regular class. Quite
confused by that.
The attributes derived by reflection is fine, but I have several
other attributes that will not come from the data table. Most are
state vars or behavior modification vars derived from config settings
or application logic. These + the data table combine to make up the
whole model.
– gw