| Path: | vendor/activerecord/lib/active_record/support/class_inheritable_attributes.rb |
| Last Update: | Fri Aug 06 14:53:13 CEST 2004 |
Allows attributes to be shared within an inheritance hierarchy, but where each descentent get a copy of their parents attributes, instead of just a pointer to the same. This means that the child can add elements to for example an array without those additions are shared with either their parent, their brother, or their child. Which is unlike the regular class-level attributes that are shared across the entire hierarchy.