app/models/system_parameter.rb
# 2 - value - String in model - base64 encoded in database
String in model - base64 encoded in database
String in model - base64 encoded in database
def value_was
    return value unless value_changed?
    return nil unless (extended_value = attribute_was(:value))
    Base64.decode64(extended_value)
  end
def value_was return value unless value_changed? return nil unless ( extended_value = attribute_was ( :value ) ) Base64 . decode64 ( extended_value ) end
2 - value - String in model - base64 encoded in database
2 - value - String in model - base64 encoded in database