• U
    Fix regression when passing a value different of String. · 362557eb
    Ulisses Almeida 提交于
    The previous version of rails(4.2.0) you can pass objects
    to the default option of translation helper.
    
    For example:
    
    ```ruby
      t('foo', default: 1)
    ```
    
    But on rails 4.2.1 version this kind of use stopped to work,
    because started only to accept String types.
    
    Now with this fix we can use orther value types on this
    helper again.
    362557eb
translation_helper.rb 4.7 KB