This project is archived and is in readonly mode.

Changeset [6f97ad07ded847f29159baf71050c63f04282170] by Geoff Buesing

August 4th, 2009 @ 04:03 AM

quoted_date converts time-like objects to ActiveRecord::Base.default_timezone before serialization. This allows you to use Time.now in find conditions and have it correctly be serialized as the current time in UTC when default_timezone == :utc [#2946 state:resolved] http://github.com/rails/rails/co...

Committed by Geoff Buesing

  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/connection_adapters/abstract/quoting.rb
  • M activerecord/test/cases/base_test.rb
  • M activerecord/test/cases/finder_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>