Recently I wanted to change updated_at column of a post, but it's not that simple!
Nevertheless, server time is 12:06 and when I use console (irb) it is 12:06 Also tried:
irb(main):001:0> Time.zone.to_s
=> "(GMT+03:00) Moscow"
Still when I do :
post.update!(updated_at: DateTime.now)
=> true
And if I retrieve the record, the result is "2018-10-29 09:06:47"
Any help is appreciated!