Software Development
Pages
Home
About
Contact
Monday, November 07, 2016
undefined method `to_time_in_current_zone' for DateTime
I got this error while upgrading a Rails 3.2 project to Rails 4.2. This method has been removed from Rails 4.1. The resolution is to use
in_time_zone instead of to_time_in_current_zone
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment