field (DataMapper::Property)

    # File lib/dm-core/property.rb, line 344
        def field(repository_name = nil)
          if repository_name
            warn "Passing in +repository_name+ to #{self.class}#field is deprecated (#{caller[0]})"

            if repository_name != self.repository_name
              raise ArgumentError, "Mismatching +repository_name+ with #{self.class}#repository_name (#{repository_name.inspect} != #{self.repository_name.inspect})"
            end
          end

          # defer setting the field with the adapter specific naming
          # conventions until after the adapter has been setup
          @field ||= model.field_naming_convention(self.repository_name).call(self).freeze
        end