as different ruby implementations may have different values, for example Rubinius returns 53 for nil.id. [#6444 state:resolved]
…e and not Time.zone_default. [#6410 state:committed]
…k GC::Profiler.respond_to?(:total_time) [#6435 state:committed] Signed-off-by: Santiago Pastorino <email@example.com>
…es during json decoding. [#3031 state:resolved] Signed-off-by: Santiago Pastorino and Emilio Tagua <firstname.lastname@example.org>
…t is invalid. This DateTime parse error is now caught and the original string is instead passed back [#6286 state:resolved] Signed-off-by: Santiago Pastorino <email@example.com>
…lly binary [#6386 state:resolved] Signed-off-by: José Valim <firstname.lastname@example.org>
#6353 state:resolved] This handles the case where config.cache_classes is true and classes are loaded before the I18n load path has had a chance to be populated. Signed-off-by: Santiago Pastorino <email@example.com>
This reverts commit 1e98920.
… second" This reverts commit 35984f5.
this can provide a significant performance boost during testing, by preventing the GC from running too frequently.
this prevents test state from accumulating, resulting in leaked objects and slow tests due to overactive GC.
…s date, date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required. Signed-off-by: Santiago Pastorino <firstname.lastname@example.org>
…e so short inflections like ors do not affect larger words like sponsors [#6093 state:resolved]
* Examples running with the text are preferred over separate Example sections. * No need to call puts, in # => we show the return value, not STDOUT. * Say explicitly that double quotes are removed. * Specify that we are talking \uXXX, rather than, say, HTML entities.