<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Chris Irish | Ruby, Rails, Javascript Developer | Phoenix, AZ</title>
	<atom:link href="http://www.christopherirish.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christopherirish.com</link>
	<description>Ruby, Rails, Javascript, all things web development related</description>
	<lastBuildDate>Thu, 28 Jul 2022 18:51:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Comment on Splitting Rails DOM ids with RegEx Look Aheads by Joshua Pinter</title>
		<link>http://www.christopherirish.com/2010/10/15/splitting-rails-dom-ids-with-regex-look-aheads/comment-page-1/#comment-1060</link>
		<dc:creator>Joshua Pinter</dc:creator>
		<pubDate>Thu, 28 Jul 2022 18:51:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=530#comment-1060</guid>
		<description>Super handy! Here&#039;s a little snippet to take it further and convert it to ActiveRecord objects: 

```
    dom_ids = params[ :dom_ids ].split( &quot;,&quot; ) # &quot;facility_2035637462,diagram_184&quot; =&gt; [ &quot;facility_2035637462&quot;, &quot;diagram_184&quot; ]

    objects = dom_ids.collect do &#124;dom_id&#124;
      klass, id = dom_id.split( /_(?!.*_)/ ) # Parse out the class and the id from the dom_id String.
      klass.classify.constantize.find( id )
    end
```</description>
		<content:encoded><![CDATA[<p>Super handy! Here&#8217;s a little snippet to take it further and convert it to ActiveRecord objects: </p>
<p>&#8220;`<br />
    dom_ids = params[ :dom_ids ].split( &#8220;,&#8221; ) # &#8220;facility_2035637462,diagram_184&#8243; =&gt; [ "facility_2035637462", "diagram_184" ]</p>
<p>    objects = dom_ids.collect do |dom_id|<br />
      klass, id = dom_id.split( /_(?!.*_)/ ) # Parse out the class and the id from the dom_id String.<br />
      klass.classify.constantize.find( id )<br />
    end<br />
&#8220;`</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by Leroy Tennison</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-1025</link>
		<dc:creator>Leroy Tennison</dc:creator>
		<pubDate>Mon, 11 Mar 2019 15:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-1025</guid>
		<description>Be careful when using timedatectl, it will let you set timezones with set-timezone that aren&#039;t in the list-timezone output (for example: EST).  The problem is that doing so may be wrong since you probably want EDT (daylight savings).  This caused problems on &quot;daylight savings weekend) when the system had EST as a timezone but the same time as Central Daylight Savings. I used &#039;dpkg-reconfigure tzdata&#039; to fix the problem - it seems to be &quot;smarter&quot; than timedatectl.</description>
		<content:encoded><![CDATA[<p>Be careful when using timedatectl, it will let you set timezones with set-timezone that aren&#8217;t in the list-timezone output (for example: EST).  The problem is that doing so may be wrong since you probably want EDT (daylight savings).  This caused problems on &#8220;daylight savings weekend) when the system had EST as a timezone but the same time as Central Daylight Savings. I used &#8216;dpkg-reconfigure tzdata&#8217; to fix the problem &#8211; it seems to be &#8220;smarter&#8221; than timedatectl.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by Tausif</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-789</link>
		<dc:creator>Tausif</dc:creator>
		<pubDate>Thu, 29 Mar 2018 04:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-789</guid>
		<description>It&#039;s helpful thanks so much :)</description>
		<content:encoded><![CDATA[<p>It&#8217;s helpful thanks so much <img src='http://www.christopherirish.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by Sylvain</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-779</link>
		<dc:creator>Sylvain</dc:creator>
		<pubDate>Sat, 24 Jun 2017 22:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-779</guid>
		<description>Thank you :o)</description>
		<content:encoded><![CDATA[<p>Thank you <img src='http://www.christopherirish.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by Francis Kim</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-776</link>
		<dc:creator>Francis Kim</dc:creator>
		<pubDate>Mon, 20 Mar 2017 00:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-776</guid>
		<description>sudo dpkg-reconfigure tzdata 
Still works well for Melbourne or any other cities on 16.04.</description>
		<content:encoded><![CDATA[<p>sudo dpkg-reconfigure tzdata<br />
Still works well for Melbourne or any other cities on 16.04.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by Dan</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-709</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 20 Jul 2016 00:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-709</guid>
		<description>In 16.04 you use: 

sudo  timedatectl set-timezone Australia/Melbourne</description>
		<content:encoded><![CDATA[<p>In 16.04 you use: </p>
<p>sudo  timedatectl set-timezone Australia/Melbourne</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by zhibinw</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-706</link>
		<dc:creator>zhibinw</dc:creator>
		<pubDate>Tue, 14 Jun 2016 02:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-706</guid>
		<description>thanks for posting, save much of my time ! work perfect for me !</description>
		<content:encoded><![CDATA[<p>thanks for posting, save much of my time ! work perfect for me !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by Mohamed Bile Super</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-704</link>
		<dc:creator>Mohamed Bile Super</dc:creator>
		<pubDate>Sun, 24 Apr 2016 09:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-704</guid>
		<description>thank you so much for posting this. keep the great job up.</description>
		<content:encoded><![CDATA[<p>thank you so much for posting this. keep the great job up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by BG</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-700</link>
		<dc:creator>BG</dc:creator>
		<pubDate>Sun, 28 Feb 2016 22:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-700</guid>
		<description>Very helpful thanks. Didn&#039;t know that dpkg-reconfigure command - sometimes it&#039;s nice just to launch a GUI to make certain changes. And particularly liked the fact you recommend restarting cron :)</description>
		<content:encoded><![CDATA[<p>Very helpful thanks. Didn&#8217;t know that dpkg-reconfigure command &#8211; sometimes it&#8217;s nice just to launch a GUI to make certain changes. And particularly liked the fact you recommend restarting cron <img src='http://www.christopherirish.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set the timezone on Ubuntu Server by Viny Machado</title>
		<link>http://www.christopherirish.com/2012/03/21/how-to-set-the-timezone-on-ubuntu-server/comment-page-2/#comment-698</link>
		<dc:creator>Viny Machado</dc:creator>
		<pubDate>Sun, 14 Feb 2016 22:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherirish.com/?p=792#comment-698</guid>
		<description>Great article man!</description>
		<content:encoded><![CDATA[<p>Great article man!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
