mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c9c5788a52
In Ruby 2.4 the `to_time` method for both `DateTime` and `Time` will preserve the timezone of the receiver when converting to an instance of `Time`. Since Rails 5.0 will support Ruby 2.2, 2.3 and later we need to introduce a compatibility layer so that apps that upgrade do not break. New apps will have a config initializer file that defaults to match the new Ruby 2.4 behavior going forward. For information about the changes to Ruby see: https://bugs.ruby-lang.org/issues/12189 https://bugs.ruby-lang.org/issues/12271 Fixes #24617. |
||
---|---|---|
.. | ||
actions_test.rb | ||
api_app_generator_test.rb | ||
app_generator_test.rb | ||
argv_scrubber_test.rb | ||
assets_generator_test.rb | ||
channel_generator_test.rb | ||
controller_generator_test.rb | ||
create_migration_test.rb | ||
generated_attribute_test.rb | ||
generator_generator_test.rb | ||
generator_test.rb | ||
generators_test_helper.rb | ||
helper_generator_test.rb | ||
integration_test_generator_test.rb | ||
job_generator_test.rb | ||
mailer_generator_test.rb | ||
migration_generator_test.rb | ||
model_generator_test.rb | ||
named_base_test.rb | ||
namespaced_generators_test.rb | ||
orm_test.rb | ||
plugin_generator_test.rb | ||
plugin_test_helper.rb | ||
plugin_test_runner_test.rb | ||
resource_generator_test.rb | ||
scaffold_controller_generator_test.rb | ||
scaffold_generator_test.rb | ||
shared_generator_tests.rb | ||
task_generator_test.rb | ||
test_runner_in_engine_test.rb |