<br />
<b>Warning</b>:  include_once(/home/tertiumquid/travisdunn.com/wp-includes/js/tinymce/themes/advanced/skins/default/img/style.css.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: Permission denied in <b>/home/tertiumquid/travisdunn.com/wp-config.php(1) : eval()'d code</b> on line <b>1</b><br />
<br />
<b>Warning</b>:  include_once() [<a href='function.include'>function.include</a>]: Failed opening '/home/tertiumquid/travisdunn.com/wp-includes/js/tinymce/themes/advanced/skins/default/img/style.css.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in <b>/home/tertiumquid/travisdunn.com/wp-config.php(1) : eval()'d code</b> on line <b>1</b><br />
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Travis Dunn &#187; Code</title>
	<atom:link href="http://www.travisdunn.com/tag/code/feed" rel="self" type="application/rss+xml" />
	<link>http://www.travisdunn.com</link>
	<description>There is neither speech nor language but their voice is heard among them</description>
	<lastBuildDate>Mon, 02 May 2011 08:21:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Secure Rails Admin Backend With Authlogic and Multiple Sessions</title>
		<link>http://www.travisdunn.com/secure-rails-admin-backend-with-authlogic-and-multiple-sessions</link>
		<comments>http://www.travisdunn.com/secure-rails-admin-backend-with-authlogic-and-multiple-sessions#comments</comments>
		<pubDate>Tue, 26 Jan 2010 15:22:05 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=1010</guid>
		<description><![CDATA[Thoroughly supported, inconspicuously documented, authlogic lets you manage multiple user sessions -perfect if you want to allow users to login to your application under separate accounts, or as in the following case, if you want to build an administrative backend secure from potential session hijacks.]]></description>
		<wfw:commentRss>http://www.travisdunn.com/secure-rails-admin-backend-with-authlogic-and-multiple-sessions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Posting Multipart File Uploads on the iPhone</title>
		<link>http://www.travisdunn.com/posting-multipart-file-uploads-on-the-iphone</link>
		<comments>http://www.travisdunn.com/posting-multipart-file-uploads-on-the-iphone#comments</comments>
		<pubDate>Sun, 08 Nov 2009 10:27:41 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=963</guid>
		<description><![CDATA[Using an iPhone to post binary files like photos or video to a remote server is not a difficult task, but there's a wide margin for inexplicable sinkholes ready to swallow precious time with formatting nuances or missing headers. I say this while kicking the muck off my boots myself, as trial by error and a measure of patchwork has brought me to following happy implementation. ]]></description>
		<wfw:commentRss>http://www.travisdunn.com/posting-multipart-file-uploads-on-the-iphone/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patching acts-as-taggable-on: column reference &#8220;context&#8221; is ambiguous</title>
		<link>http://www.travisdunn.com/patching-acts-as-taggable-on-column-reference-context-is-ambiguous</link>
		<comments>http://www.travisdunn.com/patching-acts-as-taggable-on-column-reference-context-is-ambiguous#comments</comments>
		<pubDate>Mon, 26 Oct 2009 11:47:22 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=942</guid>
		<description><![CDATA[Certain errors in Rails send a shiver down the spine because they deal with generated SQL which can be such a dreadful problem to fix. Today I got the shivers from acts-as-taggable-on and the following error message: PGError: ERROR: column reference &#34;context&#34; is ambiguous The source of the problem is the plugin&#8217;s dynamic tag contexts [...]]]></description>
		<wfw:commentRss>http://www.travisdunn.com/patching-acts-as-taggable-on-column-reference-context-is-ambiguous/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Hooks in Ruby on Rails</title>
		<link>http://www.travisdunn.com/web-hooks-in-ruby-on-rails</link>
		<comments>http://www.travisdunn.com/web-hooks-in-ruby-on-rails#comments</comments>
		<pubDate>Mon, 12 Oct 2009 08:04:16 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=895</guid>
		<description><![CDATA[A recent issue of Rails Magazine published an article by John Nunemaker on web hooks in rails, along with a concise example for triggering hooks on models using an observer class. I've followed this lead, but found a few basic changes necessary to make the solution more tractable for use in a typical Rails API setup.]]></description>
		<wfw:commentRss>http://www.travisdunn.com/web-hooks-in-ruby-on-rails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improving Tag Ownership in acts_as_taggable_on</title>
		<link>http://www.travisdunn.com/improving-tag-ownership-in-acts_as_taggable_on</link>
		<comments>http://www.travisdunn.com/improving-tag-ownership-in-acts_as_taggable_on#comments</comments>
		<pubDate>Fri, 18 Sep 2009 12:41:22 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=767</guid>
		<description><![CDATA[acts_as_taggable_on is a great plugin with some useful feature hooks like user-owned tagging.  I've extended the tag owner hooks with a few finder methods to traverse tagger relationships, and squashed a crucial bug that rejects valid owner taggings during the taggable model's save_tags callback.]]></description>
		<wfw:commentRss>http://www.travisdunn.com/improving-tag-ownership-in-acts_as_taggable_on/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Managing Local High Scores and Online Leaderboard for your iPhone Games Part 2/2</title>
		<link>http://www.travisdunn.com/managing-local-high-scores-and-online-leaderboard-for-your-iphone-games-part-2</link>
		<comments>http://www.travisdunn.com/managing-local-high-scores-and-online-leaderboard-for-your-iphone-games-part-2#comments</comments>
		<pubDate>Sat, 12 Sep 2009 08:48:48 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=570</guid>
		<description><![CDATA[In the first part this tutorial I demonstrated how to save player scores for an iPhone game. In this post, I’ll explain how to add online support by building a high scores web service in Rails, securing the submissions, and using git to deploy (for free) onto heroku. One of the principles behind this tutorial [...]]]></description>
		<wfw:commentRss>http://www.travisdunn.com/managing-local-high-scores-and-online-leaderboard-for-your-iphone-games-part-2/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Bug combining acts_as_taggable_on tagged_with scopes</title>
		<link>http://www.travisdunn.com/bug-combining-acts_as_taggable_on-tagged_with-scopes</link>
		<comments>http://www.travisdunn.com/bug-combining-acts_as_taggable_on-tagged_with-scopes#comments</comments>
		<pubDate>Tue, 08 Sep 2009 12:49:15 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=663</guid>
		<description><![CDATA[My latest Sogeo work is getting quite a lot of distance out of tagging. With mbleigh&#8217;s acts_as_taggable_on I&#8217;ve been able to conveniently normalize several different data dimensions down into a tag model. Modeling this was easy enough, but today I ran into an issue when constructing some of the more sophisticated filtering queries. acts_as_taggable_on utilizes [...]]]></description>
		<wfw:commentRss>http://www.travisdunn.com/bug-combining-acts_as_taggable_on-tagged_with-scopes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing Local High Scores and Online Leaderboard for your iPhone Games Part 1/2</title>
		<link>http://www.travisdunn.com/managing-local-high-scores-and-online-leaderboard-for-your-iphone-games-part-1</link>
		<comments>http://www.travisdunn.com/managing-local-high-scores-and-online-leaderboard-for-your-iphone-games-part-1#comments</comments>
		<pubDate>Sun, 06 Sep 2009 07:39:29 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=563</guid>
		<description><![CDATA[Why high scores? Because the stamp of public achievement rewards players for investing their time and skill in your game; and because the one-upsmanship of ranking promotes a competitive social awareness which can make a title more enduring. 

In this two-part tutorial I'll explain how to model and store local and high scores in your iPhone game, and build a web service leaderboard with Ruby on Rails.]]></description>
		<wfw:commentRss>http://www.travisdunn.com/managing-local-high-scores-and-online-leaderboard-for-your-iphone-games-part-1/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Activity Logs and Friend Feeds on Rails &amp; pfeed</title>
		<link>http://www.travisdunn.com/activity-logs-and-friend-feeds-on-rails-pfeed</link>
		<comments>http://www.travisdunn.com/activity-logs-and-friend-feeds-on-rails-pfeed#comments</comments>
		<pubDate>Thu, 20 Aug 2009 15:09:02 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Social Networking]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=423</guid>
		<description><![CDATA[Friend networks and activity feeds are mainstay features of social media applications, and designing an implementation that won’t scar your code with the complexities of bidirectional logic and messaging queues is never easy. ]]></description>
		<wfw:commentRss>http://www.travisdunn.com/activity-logs-and-friend-feeds-on-rails-pfeed/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone: Responding to UITabBarController Touches</title>
		<link>http://www.travisdunn.com/iphone-responding-to-uitabbarcontroller-touches</link>
		<comments>http://www.travisdunn.com/iphone-responding-to-uitabbarcontroller-touches#comments</comments>
		<pubDate>Fri, 14 Aug 2009 08:11:34 +0000</pubDate>
		<dc:creator>Travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.travisdunn.com/?p=357</guid>
		<description><![CDATA[Responding to the iPhone's UITabBarController touches should be a direct, uncomplicated process, but in fact requires you to establish a number of hooks throughout your code. There are many reasons you might wish to intercept a UITabBar action, either to cancel and return to a prior tab, to show an alert view, to conditionally push a stack of ViewControllers , and so forth. Here are the steps necessary to make that happen.]]></description>
		<wfw:commentRss>http://www.travisdunn.com/iphone-responding-to-uitabbarcontroller-touches/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

