<?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>Sentia &#124; Sydney IT Consultancy, Software Development, Ruby on Rails, Web Application Development, Rails Development, Test Driven Development, Microsoft.Net, Asp.Net , Agile, Continuous Integration Training, iPhone development &#187; gravatar</title>
	<atom:link href="http://www.sentia.com.au/tag/gravatar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sentia.com.au</link>
	<description>Sentia company website and blog about all things development, Ruby on Rails, Microsoft .Net, ASP.Net, C#.Net, Agile web development, Test Driven Development</description>
	<lastBuildDate>Thu, 02 Feb 2012 07:16:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Setting up gravatar&#8217;s in your rails app</title>
		<link>http://www.sentia.com.au/2009/03/setting-up-gravatars-in-your-rails-app/</link>
		<comments>http://www.sentia.com.au/2009/03/setting-up-gravatars-in-your-rails-app/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 03:01:52 +0000</pubDate>
		<dc:creator>Michael Cindric</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://blog.sentia.com.au/?p=89</guid>
		<description><![CDATA[Gravatars allow users to configure an avatar to go with &#8230; <a href="http://www.sentia.com.au/2009/03/setting-up-gravatars-in-your-rails-app/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Gravatars allow users to configure an avatar to go with a users email address at a central location: http://gravatar.com. Gravatar-aware websites can then look up and display each user&#8217;s preferred avatar, without having to handle avatar management. This makes life easy on the developer and the user only has to manage one central location.</p>
<p>First step is to get the plugin</p>
<pre class="brush: ruby; title: ; notranslate">
ruby script/plugin install git://github.com/woods/gravatar-plugin.git
</pre>
<p>Now most user models have an email field so it&#8217;s usually something like below to access their email.</p>
<pre class="brush: ruby; title: ; notranslate">
  user.email
</pre>
<p>If thats the case then to have the gravatar appear in your views it&#8217;s simply</p>
<pre class="brush: ruby; title: ; notranslate">
&lt;%= gravatar_for @user %&gt;
</pre>
<p>Thanks Scott A. Woods for a great and simple plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sentia.com.au/2009/03/setting-up-gravatars-in-your-rails-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

