Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [6f97ad07ded847f29159baf71050c63f04282170] by Geoff Buesing

Revision 6f97ad07ded847f29159baf71050c63f04282170, committed 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...

4 changed files

  • 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