First page Back Continue Last page Overview Graphics


Notes:

(8 secs) Here's a simplified version of the delegating approach pulled from ActiveSupport.

With the delegating approach, whenever a lookup of a class instance variable is requested...

http://github.com/rails/rails/blob/v2.3.5/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb#L8