def create_field_getter(name, meth, field)
      generated_methods.module_eval do
        re_define_method(meth) do
          read_attribute(name, field)
        end
      end
    end
def create_field_getter(name, meth, field)
      generated_methods.module_eval do
        re_define_method(meth) do
          read_attribute(name, field)
        end
      end
    end
Create the getter method for the provided field.

 @example Create the getter.
   Model.create_field_getter("name", "name", field)

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