don't forget to turn on time_zone_aware_attributes in AR benchmark
This commit is contained in:
parent
89401acff4
commit
1e258c9d9c
|
@ -5,6 +5,9 @@ require 'rubygems'
|
|||
require 'benchmark'
|
||||
require 'active_record'
|
||||
|
||||
ActiveRecord::Base.default_timezone = 'Pacific Time (US & Canada)'
|
||||
ActiveRecord::Base.time_zone_aware_attributes = true
|
||||
|
||||
number_of = 10
|
||||
mysql2_opts = {
|
||||
:adapter => 'mysql2',
|
||||
|
|
Loading…
Reference in New Issue