<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>John Plummer . com</title>
	
	<link>http://www.johnplummer.com</link>
	<description>Stuff I want to remember</description>
	<lastBuildDate>Mon, 14 May 2012 11:41:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/JohnPlummer" /><feedburner:info uri="johnplummer" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Heroku, Precompiling Assets and Enviroment Variables</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/kgIyD7f8o2E/heroku-precompiling-assets-enviroment-variables.html</link>
		<comments>http://www.johnplummer.com/tools/heroku-precompiling-assets-enviroment-variables.html#comments</comments>
		<pubDate>Fri, 30 Mar 2012 14:34:12 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[Variables]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=373</guid>
		<description>It&amp;#8217;s easy enough to set up a staging environment on Heroku and have the environment use your staging.rb at runtime by setting the RACK_ENV  variable to &amp;#8220;staging&amp;#8221;. Currently there is a problem if you need anything from your staging.rb whilst the slug is being compiled. I ran into this when I specified an asset host. [...]&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/kgIyD7f8o2E" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/tools/heroku-precompiling-assets-enviroment-variables.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/tools/heroku-precompiling-assets-enviroment-variables.html</feedburner:origLink></item>
		<item>
		<title>Creating a staging environment on Heroku</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/ar9_Gt2vQ7c/creating-staging-environment-heroku.html</link>
		<comments>http://www.johnplummer.com/rails/creating-staging-environment-heroku.html#comments</comments>
		<pubDate>Tue, 21 Feb 2012 16:40:28 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ruby and Rails]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[Staging]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=358</guid>
		<description>If you&amp;#8217;re hosting your app on Heroku (possibly even if you aren&amp;#8217;t) it is a good idea to create a staging environment also. Heroku has docs on this but the short version for a new app is: heroku create staging-app-name --stack cedar --remote staging(if the app is already on Heroku, just add the remote: git [...]&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/ar9_Gt2vQ7c" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/rails/creating-staging-environment-heroku.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/rails/creating-staging-environment-heroku.html</feedburner:origLink></item>
		<item>
		<title>Heroku error with conditional rb-fsevent gem</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/qxQ1L6UEEZI/heroku-error-conditional-rbfsevent-gem.html</link>
		<comments>http://www.johnplummer.com/rails/heroku-error-conditional-rbfsevent-gem.html#comments</comments>
		<pubDate>Thu, 16 Feb 2012 16:22:53 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ruby and Rails]]></category>
		<category><![CDATA[Gemfile]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Os X]]></category>
		<category><![CDATA[Ruby On Rails]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=360</guid>
		<description>Using the guard gem to run tests etc in your Rails app normally requires some form of file system monitoring. The monitoring will be OS dependant and rb-fsevent is the gem for OSX. This can be added to the Gemfile conditionally with: gem 'rb-fsevent', :require =&amp;#62; false if RUBY_PLATFORM =~ /darwin/i Unfortunately when you next [...]&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/qxQ1L6UEEZI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/rails/heroku-error-conditional-rbfsevent-gem.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/rails/heroku-error-conditional-rbfsevent-gem.html</feedburner:origLink></item>
		<item>
		<title>Use multiple accounts with Heroku</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/cFoWxu977DM/multiple-accounts-heroku.html</link>
		<comments>http://www.johnplummer.com/tools/multiple-accounts-heroku.html#comments</comments>
		<pubDate>Tue, 14 Feb 2012 16:16:30 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[Ruby On Rails]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=356</guid>
		<description>https://github.com/ddollar/heroku-accounts is a plugin for Heroku to allow you to use multiple accounts, e.g. work and personal. To install: heroku plugins:install git://github.com/ddollar/heroku-accounts.git Then set up each account: heroku accounts:add personal --auto heroku accounts:add work --auto Set your default: heroku accounts:default personal Then to switch account for an app: heroku accounts:set work&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/cFoWxu977DM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/tools/multiple-accounts-heroku.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/tools/multiple-accounts-heroku.html</feedburner:origLink></item>
		<item>
		<title>Optional Parameters in View Partials</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/C6k9pkM-HnY/optional-parameters-view-partials.html</link>
		<comments>http://www.johnplummer.com/rails/optional-parameters-view-partials.html#comments</comments>
		<pubDate>Tue, 31 Jan 2012 12:37:20 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ruby and Rails]]></category>
		<category><![CDATA[Default Values]]></category>
		<category><![CDATA[defined?]]></category>
		<category><![CDATA[has_key?]]></category>
		<category><![CDATA[Locals]]></category>
		<category><![CDATA[Optional Parameters]]></category>
		<category><![CDATA[Partial]]></category>
		<category><![CDATA[Variables]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=350</guid>
		<description>It&amp;#8217;s generally good practise to pass variables to view partials using locals rather than littering your code with @variables. This allows better reuse of the partial. To make the locals optional, provide default values if they are nil or undefined. I have seen many recommendations to do this with a test for defined? According to [...]&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/C6k9pkM-HnY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/rails/optional-parameters-view-partials.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/rails/optional-parameters-view-partials.html</feedburner:origLink></item>
		<item>
		<title>Rails 3.1 on Heroku, TLDR Version</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/nkjZZGHljCg/rails-31-heroku-tldr-version.html</link>
		<comments>http://www.johnplummer.com/rails/rails-31-heroku-tldr-version.html#comments</comments>
		<pubDate>Tue, 13 Dec 2011 15:44:28 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ruby and Rails]]></category>
		<category><![CDATA[Foreman]]></category>
		<category><![CDATA[Gemfile]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[rvmrc]]></category>
		<category><![CDATA[Stack]]></category>
		<category><![CDATA[Thin]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=341</guid>
		<description>Create the app If not installed, install PostgreSQL rails new app_name -T -d=postgresql cd app_name/ rvm --create --rvmrc 1.9.2@app_name rvm rvmrc trust Edit .Gemfile bundle install createuser -P -S -R -d app_name (no to &amp;#8216;Superuser&amp;#8217; and &amp;#8216;Create roles&amp;#8217;, yes to &amp;#8216;Create databases&amp;#8217;) rake db:create Create procfile in app root. foreman start and check http://0.0.0.0:5000/ Push [...]&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/nkjZZGHljCg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/rails/rails-31-heroku-tldr-version.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/rails/rails-31-heroku-tldr-version.html</feedburner:origLink></item>
		<item>
		<title>Does Email Obfuscation Work?</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/wHX_RKbNZ88/email-obfuscation.html</link>
		<comments>http://www.johnplummer.com/js-html-and-css/email-obfuscation.html#comments</comments>
		<pubDate>Wed, 07 Dec 2011 21:01:10 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[JS, HTML and CSS]]></category>
		<category><![CDATA[Clickable Link]]></category>
		<category><![CDATA[Crawlers]]></category>
		<category><![CDATA[Email Address]]></category>
		<category><![CDATA[Obfuscation]]></category>
		<category><![CDATA[Rerun]]></category>
		<category><![CDATA[Test]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=328</guid>
		<description>  It seems to be common wisdom that if you put your email address on the web in plain text you will get spammed (more). There are various ways to try and hide an email address from various crawlers whist still displaying it to visitors, most involving javascript and relying  on the crawlers not having [...]&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/wHX_RKbNZ88" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/js-html-and-css/email-obfuscation.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/js-html-and-css/email-obfuscation.html</feedburner:origLink></item>
		<item>
		<title>Installing Postgresql and pgAdmin</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/H7AYseAFx1E/installing-postgresql-pgadmin.html</link>
		<comments>http://www.johnplummer.com/rails/installing-postgresql-pgadmin.html#comments</comments>
		<pubDate>Tue, 06 Dec 2011 13:10:39 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ruby and Rails]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[pgAdmin]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=292</guid>
		<description>  The default database for Heroku is PostgreSQL and, while you could use SQLite for development and Postgres for production, there are some inconsistencies between the two. Ideally you would use the same version of the database server but currently Heroku uses version 9 for dedicated databases and 8.3 for shared databases and seem to [...]&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/H7AYseAFx1E" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/rails/installing-postgresql-pgadmin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/rails/installing-postgresql-pgadmin.html</feedburner:origLink></item>
		<item>
		<title>Setting up Rails on a Clean Install of Mac OS X Lion</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/9Lt4hWnYRe4/setting-rails-clean-install-mac-os-lion.html</link>
		<comments>http://www.johnplummer.com/rails/setting-rails-clean-install-mac-os-lion.html#comments</comments>
		<pubDate>Tue, 25 Oct 2011 10:03:33 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ruby and Rails]]></category>
		<category><![CDATA[Config Files]]></category>
		<category><![CDATA[Gems]]></category>
		<category><![CDATA[Home Folder]]></category>
		<category><![CDATA[Homebrew]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Mac Apps]]></category>
		<category><![CDATA[Os X]]></category>
		<category><![CDATA[Rubies]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=273</guid>
		<description>I realise that OSX does not have a registry to clog up but I have just reinstalled Lion on my Macbook Air; probably a hang up from Windows. This is a checklist for installing Homebrew &amp;#62;&amp;#62; Rails. Install XCode 4.1 (There are issues with the 4.2 compiler and certain rubies and gems) Install Homebrew https://github.com/mxcl/homebrew/wiki/installation [...]&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/9Lt4hWnYRe4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/rails/setting-rails-clean-install-mac-os-lion.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/rails/setting-rails-clean-install-mac-os-lion.html</feedburner:origLink></item>
		<item>
		<title>Changing Three Finger Swipe to Back in Lion</title>
		<link>http://feedproxy.google.com/~r/JohnPlummer/~3/mCavgiQlZfI/changing-three-finger-swipe-to-back-in-lion.html</link>
		<comments>http://www.johnplummer.com/mac/changing-three-finger-swipe-to-back-in-lion.html#comments</comments>
		<pubDate>Tue, 18 Oct 2011 11:43:54 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Gestures]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Swipe]]></category>
		<category><![CDATA[System Preferences]]></category>

		<guid isPermaLink="false">http://www.johnplummer.com/?p=271</guid>
		<description>Lion introduces some new gestures which unfortunately breaks some gestures I am used to such as a three finger swipe to move back in Chrome. Easily fixed by opening System Preferences &amp;#62; Trackpad &amp;#62; More Gestures and changing swipe between full screen apps to use four fingers and swipe between pages to use three.&lt;img src="http://feeds.feedburner.com/~r/JohnPlummer/~4/mCavgiQlZfI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.johnplummer.com/mac/changing-three-finger-swipe-to-back-in-lion.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.johnplummer.com/mac/changing-three-finger-swipe-to-back-in-lion.html</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.669 seconds -->

