README.md in human_attribute_values-1.2.0 vs README.md in human_attribute_values-1.2.1

- old
+ new

@@ -9,11 +9,11 @@ gem install human_attribute_values ``` ## Supported versions * Rails: >= 4.2.10 - * Ruby: MRI >= 2.3.8 + * Ruby: MRI >= 2.3.0 ## Usage The gem defines ``human_attribute_value`` as instance and class method on ``ActiveRecord::Base`` and ``ActiveModel::Model``. To translate a value it uses the I18n API. The translations are looked up from the current locale file under the key ``'activerecord.values.model_name.attribute_name.value'`` respectively ``'activemodel.values.model_name.attribute_name.value'`` by default. @@ -94,11 +94,11 @@ value: '3_14': Pi '42': 'the answer to life, the universe and everything' ``` -### Strings -Starting with version 1.2.0, dots in strings are also replaced by an underscore for the lookup (before this was only done for numbers). +### Strings and Symbols +Starting with version 1.2.0, dots in strings and symbols (actually in all values) are also replaced by an underscore for the lookup (before this was only done for numbers). ### Child classes For models with single table inheritance (STI), the lookup will start with the translations for the class and go up through the class hierarchy and use the translation for the closest parent if there is any.