def create_field_setter(name, meth, field)
      generated_methods.module_eval do
        re_define_method("#{meth}=") do |value|
          write_attribute(name, value, field)
        end
      end
    end
def create_field_setter(name, meth, field)
      generated_methods.module_eval do
        re_define_method("#{meth}=") do |value|
          write_attribute(name, value, field)
        end
      end
    end
Create the setter method for the provided field.

 @example Create the setter.
   Model.create_field_setter("name", "name")

 @param [ String ] name The name of the attribute.
 @param [ String ] meth The name of the method.
 @param [ Field ] field The field.