module
ActiveRecord::AttributeMethods::Write
v4.2.9 -
Show latest stable
No documentation available for this module.
Constants
WriterMethodCache = Class.new(AttributeMethodCache) {\nprivate\n\ndef method_body(method_name, const_name)\n<<-EOMETHOD\ndef #{method_name}(value)\nname = ::ActiveRecord::AttributeMethods::AttrNames::ATTR_#{const_name}\nwrite_attribute(name, value)\nend\nEOMETHOD\nend\n}.new
Files
- activerecord/lib/active_record/attribute_methods/write.rb