MikZ
Not a member
MikZ's latest activity
Saturday, November 20 2010
-
MikZ commented at 2:45 AMi've figured this out
rails are setting accessors with automatic timezone conversions
when you override acessor (with table colum) you will get to serious probl...
Wednesday, October 06 2010
-
MikZ commented at 3:27 PMI was wrong.
Postgres expects local date + time zone of date.If you pass time without timezone to postgress and have set TIME ZONE its treated like with timezo...
Tuesday, September 28 2010
-
MikZ commented at 11:55 AMIt's probably problem with Ruby 1.9.2. I've created new issue:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets... -
-
MikZ commented at 10:37 AMSame problem here. Fails in
activesupport-3.0.0/lib/active_support/testing/performance.rb:39Fresh Rails3 install, installed ruby-prof and added to Gemfile.
-
MikZ created the ticket at 11:54 AMI've created fresh rails3 app to benchmark my development and production environents. But unfortunately I've run into this issue:
Loaded suite /Users/mikz/.rvm...
Sunday, September 26 2010
Wednesday, September 15 2010
-
- Tag changed from activerecord, patch, postgresql, quoting to activerecord, patch, postgresql, quoting, timewithzone, timezone, utc
I think there is one major problem with your solution. If its
config.active_record.default_timezoneset to something different from UTC (which you need if you w...
Friday, September 10 2010
-
- Importance changed from to
I've run into this issue yesterday.
Proper way of solving this is to use utc time and format with time zone offset for column with time zone and whatever to col...
-
MikZ commented at 3:28 PMMeanwhile you can use this workaround:
class DateTime def getlocal
self.to_time.getlocal.to_datetime
end end