Brian Morearty
Founder · Not a member
Brian Morearty's latest activity
Saturday, February 12 2011
-
Brian Morearty created the ticket at 5:29 PMFrom this Rails Core comment by Santiago: https://mail.google.com/a/morearty.org/#inbox/12e0c4594370424a
Now that we have the html_safe function, let's depcreca...
Friday, February 04 2011
-
Brian Morearty commented at 5:20 PMThanks, Santiago. I missed the little note about how to push doc changes at the end of the contributor guide.
I've made the doc patch in docrails.
-
- Tag changed from documentation, timezone to doc, documentation, timezone
-
Brian Morearty created the ticket at 4:46 AMHi,
This is just a small update to the docs for Time.zone=.
Even though Time.zone is thread-local, it will leak across requests within the same thread if you ha...
Thursday, February 03 2011
-
Brian Morearty commented at 4:56 PMOne more time.
def set_time_zone old_time_zone, Time.zone = Time.zone, 'Mountain Time (US & Canada)' yield ensure Time.zone = old_tim... -
Brian Morearty commented at 4:55 PMWhoops, formatting error.
@@@ Ruby def set_time_zone
old_time_zone, Time.zone = Time.zone, 'Mountain Time (US & Canada)' yieldensure
Time.zone = old_time_zo... -
Brian Morearty commented at 4:54 PMHi,
Regarding point #1, "Setting Time.zone persists across threads and even persists past each request; meaning setting this value changes the behavior of all t...
Wednesday, January 26 2011
-
Brian Morearty commented at 5:34 PMRohit, thanks for the quick lesson in how to garner support for a Rails core patch. I've followed your suggestion. The post is here:
Friday, January 21 2011
-
-
Brian Morearty commented at 9:29 PMThanks, rubyduo. I also thought about combining them to get the best of both worlds. The problem is it will lead to ambiguous cases:
names = ["Brian"] "B".in?(...