module ActiveRecord::AttributeMethods::Write::ClassMethods
Protected Instance Methods
define_method_attribute=(name)
click to toggle source
# File lib/active_record/attribute_methods/write.rb, line 29 def define_method_attribute=(name) method = WriterMethodCache[name] generated_attribute_methods.module_eval { define_method "#{name}=", method } end