method

define_external_attribute_method

define_external_attribute_method(attr_name)
private

No documentation available.

# File activerecord/lib/active_record/attribute_methods/read.rb, line 81
          def define_external_attribute_method(attr_name)
            generated_external_attribute_methods.module_eval               def __temp__(v, attributes, attributes_cache, attr_name)                #{external_attribute_access_code(attr_name, attribute_cast_code(attr_name))}              end              alias_method '#{attr_name}', :__temp__              undef_method :__temp__, __FILE__, __LINE__ + 1
          end