Files

Class/Module Index [+]

Quicksearch

ActiveRecord::AttributeMethods::Write::ClassMethods

Protected Instance Methods

define_method_attribute=(attr_name) click to toggle source
# File lib/active_record/attribute_methods/write.rb, line 12
def define_method_attribute=(attr_name)
  generated_attribute_methods.module_eval("def #{attr_name}=(new_value); write_attribute('#{attr_name}', new_value); end", __FILE__, __LINE__)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.