<?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>Trey Connell &#187; Ruby on Rails</title>
	<atom:link href="http://www.treyconnell.com/category/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.treyconnell.com</link>
	<description>sunny on the outside. monsoon in the middle.</description>
	<lastBuildDate>Sat, 28 Apr 2012 18:26:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Update on Tradeomics.com</title>
		<link>http://www.treyconnell.com/update-tradeomicscom/</link>
		<comments>http://www.treyconnell.com/update-tradeomicscom/#comments</comments>
		<pubDate>Sat, 28 Apr 2012 17:09:29 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Tradeomics]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[rackspace]]></category>
		<category><![CDATA[unicorn]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1353</guid>
		<description><![CDATA[Nick and I have been enjoying watching Tradeomics grow over the past few months. It&#8217;s been a lot of fun to see new items and members. We&#8217;re at almost 300 members and 250 items on the site. While we certainly hope the site begins to grow faster, we&#8217;re happy with the results thus far. We have [...]]]></description>
		<wfw:commentRss>http://www.treyconnell.com/update-tradeomicscom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Active Admin for Ruby on Rails</title>
		<link>http://www.treyconnell.com/active-admin-ruby-rails/</link>
		<comments>http://www.treyconnell.com/active-admin-ruby-rails/#comments</comments>
		<pubDate>Sat, 21 May 2011 17:57:00 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Dev Links]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1267</guid>
		<description><![CDATA[Nick Brewer pointed me at Active Admin recently, and I think I&#8217;m going to try to use it in a project very soon. Active Admin generates a modern administration interface for your Ruby on Rails application. It seems to go well beyond the typical CRUD operations supported by other generators and has a really nice [...]]]></description>
		<wfw:commentRss>http://www.treyconnell.com/active-admin-ruby-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails: error_messages_for showing {{attribute}} {{message}}</title>
		<link>http://www.treyconnell.com/ruby-rails-errormessagesfor-showing-attribute-message/</link>
		<comments>http://www.treyconnell.com/ruby-rails-errormessagesfor-showing-attribute-message/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 16:21:10 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[gems]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1238</guid>
		<description><![CDATA[Typically you use the error_messages_for method in Rails to show the model validations that have failed at the top of a reloaded form so the user can take action and resubmit. It&#8217;s a really slick way to handle server-side validations and client side communication. Today, I started seeing the following while I was testing some [...]]]></description>
		<wfw:commentRss>http://www.treyconnell.com/ruby-rails-errormessagesfor-showing-attribute-message/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Basic HTTP Auth for Rails</title>
		<link>http://www.treyconnell.com/basic-http-auth-rails/</link>
		<comments>http://www.treyconnell.com/basic-http-auth-rails/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 16:59:34 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[http auth]]></category>
		<category><![CDATA[quick and dirty]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1220</guid>
		<description><![CDATA[Usually I use .htaccess to lock down a dev site or something I don&#8217;t want the world to see. This morning I had to do it for a Rails app and didn&#8217;t have the luxury of using .htaccess so this is what I did as a quick and dirty solution. class ApplicationController < ActionController::Base protect_from_forgery [...]]]></description>
		<wfw:commentRss>http://www.treyconnell.com/basic-http-auth-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculate New Image Dimensions in Ruby</title>
		<link>http://www.treyconnell.com/calculate-image-dimensions-ruby/</link>
		<comments>http://www.treyconnell.com/calculate-image-dimensions-ruby/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 14:21:21 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[helper]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1214</guid>
		<description><![CDATA[Here&#8217;s a helper method I wrote in order to resize an image for display. And yes, you should always try to physically resize an image and not just change the height and width in the image tag so that you save space and bandwidth and load time. However, I ran into a situation where this [...]]]></description>
		<wfw:commentRss>http://www.treyconnell.com/calculate-image-dimensions-ruby/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automatically Raise RecordNotFound Exceptions in Rails</title>
		<link>http://www.treyconnell.com/automatically-raise-recordnotfound-exceptions-rails/</link>
		<comments>http://www.treyconnell.com/automatically-raise-recordnotfound-exceptions-rails/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 15:51:32 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[ActiveRecord]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1211</guid>
		<description><![CDATA[I typically have the following code in my application_controller.rb file in Rails apps: # any time we get a RecordNotFound Exception we're going to rescue from it and throw a 404 rescue_from ActiveRecord::RecordNotFound, :with => :throw_404 # Used to take the user to a 404 page def throw_404 @browser_title = "Page Not Found" render_optional_error_file("404") true [...]]]></description>
		<wfw:commentRss>http://www.treyconnell.com/automatically-raise-recordnotfound-exceptions-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force SSL Protocol in Ruby on Rails</title>
		<link>http://www.treyconnell.com/force-ssl-protocol-ruby-rails/</link>
		<comments>http://www.treyconnell.com/force-ssl-protocol-ruby-rails/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 12:09:12 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1197</guid>
		<description><![CDATA[I had to modify an application to ensure the https protocol was used on some important pages such as new user registration, login, shopping cart checkout, etc.  Here&#8217;s a really easy method you can place into your application_controller.rb and call as a before_filter within your controllers. def require_ssl redirect_to :protocol =&#62; "https://" unless (request.ssl? or [...]]]></description>
		<wfw:commentRss>http://www.treyconnell.com/force-ssl-protocol-ruby-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Rails&#8217; RESTful Helpers in Rake Tasks</title>
		<link>http://www.treyconnell.com/rails-restful-helpers-rake-tasks/</link>
		<comments>http://www.treyconnell.com/rails-restful-helpers-rake-tasks/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 16:52:29 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[REST]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1147</guid>
		<description><![CDATA[We were recently working on a rake task to generate an XML Sitemap of a site&#8217;s content for submission to the search engines. Because we are trying to remain as RESTful as possible, I wanted to take advantage of the helpers given to me automatically. For example, to generate the URL for an article, I [...]]]></description>
		<wfw:commentRss>http://www.treyconnell.com/rails-restful-helpers-rake-tasks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple Captcha for Ruby on Rails</title>
		<link>http://www.treyconnell.com/simple-captcha-ruby-rails/</link>
		<comments>http://www.treyconnell.com/simple-captcha-ruby-rails/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 01:20:35 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1122</guid>
		<description><![CDATA[<img class="alignleft size-full wp-image-1125" title="rails" src="http://www.treyconnell.com/wp-content/uploads/2010/02/rails.png" alt="ruby on rails" width="87" height="111" />I wanted to implement a simple captcha for for article comments on a site. And by simple, I mean both in aesthetics and in functionality.]]></description>
		<wfw:commentRss>http://www.treyconnell.com/simple-captcha-ruby-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating from Java to Ruby on Rails</title>
		<link>http://www.treyconnell.com/migrating-from-java-to-ruby-on-rails/</link>
		<comments>http://www.treyconnell.com/migrating-from-java-to-ruby-on-rails/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 21:54:53 +0000</pubDate>
		<dc:creator>Trey Connell</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.treyconnell.com/?p=1091</guid>
		<description><![CDATA[<a rel="attachment wp-att-1092" href="http://www.treyconnell.com/migrating-from-java-to-ruby-on-rails"><img class="alignleft size-full wp-image-1092" title="java-versus-ruby-on-rails" src="http://www.treyconnell.com/wp-content/uploads/2009/10/java-versus-ruby-on-rails.jpg" alt="java-versus-ruby-on-rails" width="187" height="102" /></a>I work in java, but I'm considering moving our company to Ruby on Rails (gasp!)]]></description>
		<wfw:commentRss>http://www.treyconnell.com/migrating-from-java-to-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

