diff options
author | amitkumarsuroliya <amitkumarsuroliya@gmail.com> | 2015-09-13 00:40:02 +0530 |
---|---|---|
committer | amitkumarsuroliya <amitkumarsuroliya@gmail.com> | 2015-09-13 00:49:20 +0530 |
commit | 7251533f78bf8410733fb71ffe514adfd2d74ebf (patch) | |
tree | a3c3807fb22d185ff257365610faea9d481d8efb /railties/lib/rails/welcome_controller.rb | |
parent | 33e7b3d9c1a5362d6739faa43796ffb6cec0d09c (diff) | |
download | rails-7251533f78bf8410733fb71ffe514adfd2d74ebf.tar.gz rails-7251533f78bf8410733fb71ffe514adfd2d74ebf.tar.bz2 rails-7251533f78bf8410733fb71ffe514adfd2d74ebf.zip |
Improving `in_time_zone` docs [ci skip]
`DateTime.utc` is not a valid method. It gives `NoMethodError: undefined method `utc` for DateTime:Class`. As we know that we can calculate `utc` time from `Time` Class, but we can’t calculate `utc` time from `DateTime` Class.
Diffstat (limited to 'railties/lib/rails/welcome_controller.rb')
0 files changed, 0 insertions, 0 deletions