mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
362557eb41
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. |
||
---|---|---|
.. | ||
actionpack | ||
activerecord | ||
fixtures | ||
lib/controller | ||
template | ||
tmp | ||
abstract_unit.rb | ||
active_record_unit.rb |