1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test
Ulisses Almeida 362557eb41 Fix regression when passing a value different of String.
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.
2015-02-26 19:04:00 -03:00
..
actionpack Merge pull request #18948 from kaspth/automatic-collection-caching 2015-02-25 11:54:07 -03:00
activerecord Make the helpers a required argument 2015-02-19 15:11:08 -08:00
fixtures Collections automatically cache and fetch partials. 2015-02-21 16:06:57 +01:00
lib/controller Add tests to make sure label and placeholder respect to_model 2015-02-05 16:19:29 -02:00
template Fix regression when passing a value different of String. 2015-02-26 19:04:00 -03:00
tmp Add tmp dir in actionview/test/ 2013-08-05 01:24:14 +05:30
abstract_unit.rb Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846 2015-01-31 23:12:41 -05:00
active_record_unit.rb Change back occurrences of SQLite(3) to sqlite3 when referring to the 2014-07-06 11:47:16 -07:00