global

def scale_with_values_show(object, attribute)

values must be a hash { integer => string, ... } or an one-dimensional array of strings

with the given list of values as options
scale_with_values generates a scale
def scale_with_values_show(object, attribute)
  values = attribute_values(object, attribute)
  link_to_inline_edit object, attribute, values[object.send(attribute)][1], from_callee: __callee__
end