def delegated_attribute(name, klass)
      delegated_attributes[name] = klass
      
      attribute name, klass
      delegated_method(:"#{name}")
      delegated_method(:"#{name}=")
      
      active_record_model.friendly_attributes_configuration.add_attribute(name, friendly_model)
    end
def delegated_attribute(name, klass)
      delegated_attributes[name] = klass
      
      attribute name, klass
      delegated_method(:"#{name}")
      delegated_method(:"#{name}=")
      
      active_record_model.friendly_attributes_configuration.add_attribute(name, friendly_model)
    end
Initialize new DetailsDelegator instance.

 @param [Class] friendly_model FriendlyAttributes model, that inherits from FriendlyModel::Base
 @param [Class] ar_model ActiveRecord model, host for the FriendlyAttributes model
 @param [Hash] attributes
 @param [Hash] options
 @option options [Symbol] :active_record_key (:active_record_id) name of the 'foreign key' in which the FriendlyModel::Base instance keeps a reference to the ActiveRecord model