<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.6" -->
<rss version="0.92">
<channel>
	<title>Ruby and Rails</title>
	<link>http://ruby.zigzo.com</link>
	<description>Just another Zigzo.com weblog</description>
	<lastBuildDate>Mon, 20 Jul 2009 05:09:19 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Finding, and Ordering Through an Association</title>
		<description>I ran into an issue today.  I have a Blog model that has_many feed_entries.

In plain english, I needed a list of blogs ordered by most recently updated feed.

My models look like this:

blog.rb
has_many :feed_entries

feed_entry.rb
belongs_to :blog

The query that makes it possible:
Blog.find(:all, :include =&#62; :feed_entries, :order =&#62; 'feed_entries.published_at DESC')

:include makes this possible! </description>
		<link>http://ruby.zigzo.com/2009/07/20/finding-ordering-through-association/</link>
			</item>
	<item>
		<title>Google Maps in Radiant Using</title>
		<description>This is how i got Google Maps working in Radiant CMS via the google_maps extension.

This one is pretty easy, but you should know that you HAVE to be using MySQL or PostgreSQL because google_maps uses the spatial adapter plugin which needs one of those 2.

First install the GeoRuby gem.  Careful ...</description>
		<link>http://ruby.zigzo.com/2009/04/20/google-maps-in-radiant-using/</link>
			</item>
	<item>
		<title>Install Rmagick Gem on Ubuntu</title>
		<description>A super easy, no fat, no carbs, anti-oxidant filled three lines that had Rmagick working immediately for me:
sudo apt-get install imagemagick
sudo apt-get install libmagick9-dev
sudo gem install rmagick </description>
		<link>http://ruby.zigzo.com/2009/04/20/install-rmagick-gem-on-ubuntu/</link>
			</item>
	<item>
		<title>How to Install the &#8216;first-reorder&#8217; Extension for Radiant CMS</title>
		<description>Easy as pie.

First, make sure ray is installed... if it's not, just run
./script/extension install ray

Second, install the extension!
rake ray:extension:install name=first-reorder

This reorder extension is pretty nice.  It provides an ajaxish layout for drag/drop reordering. </description>
		<link>http://ruby.zigzo.com/2009/04/20/how-to-install-the-first-reorder-extension-for-radiant-cms/</link>
			</item>
	<item>
		<title>How to Install the News Extension for Radiant CMS</title>
		<description>The News extension for Radiant gives you the ability to post "News" items.  The new items are cool for mini updates on things, OR for really posting News :)

I am going to go through installing the News extension on Radiant 0.7.1.

Based on the install info for News it says you ...</description>
		<link>http://ruby.zigzo.com/2009/04/20/how-to-install-the-news-extension-for-radiant-cms/</link>
			</item>
	<item>
		<title>How to Create a &#8216;Contact Us&#8217; Page in Radiant 0.7.1</title>
		<description>This post is more of a personal note to myself.  99% is copy/paste from either the Radiant wiki, or the Mailer extension's github page.  I'm notating this because both the Radiant wiki and Mailer's github page have instructions that confused the hell out of me so I'm consolidating ...</description>
		<link>http://ruby.zigzo.com/2009/04/19/how-to-create-a-contact-us-page-in-radiant-071/</link>
			</item>
	<item>
		<title>How to Install the WYMeditor Extension for Radiant CMS in 3 Steps</title>
		<description>WYMeditor is a really cool wysiwyg-ish editor -- well technically it's a WYSIWYM  (What You See Is What You Mean).

It just so happens that a gentleman named Benny Degezelle has created an extension for Radiant CMS.

At the time of this writing I've installed this bad boy on Radiant CMS 0.7.1.

FIRST

Assuming ...</description>
		<link>http://ruby.zigzo.com/2009/04/19/how-to-install-the-wymeditor-extension-for-radiant-cms-in-3-steps/</link>
			</item>
	<item>
		<title>Feedzirra and How I Installed It</title>
		<description>I'm an Ubuntu user and wanted to give the Feedzirra gem a shot and play with some RSS feeds today but unfortunately I ran into a few problems -- which were CAKE to fix thanks to apt-get and hopefully this post will save you some time!

So, according to paul dix, ...</description>
		<link>http://ruby.zigzo.com/2009/02/15/feedzirra-installation-errors/</link>
			</item>
	<item>
		<title>Install Gems from GitHub</title>
		<description>I've seen a few people confused by this, and I was stumped back in the day SO:

FYI, if you want to install gems from GitHub you need to add it as a source!

How?  Easy!
sudo gem sources -a http://gems.github.com

Now you can install any gem hosted on GitHub with something like:
sudo ...</description>
		<link>http://ruby.zigzo.com/2009/02/15/install-gems-from-github/</link>
			</item>
	<item>
		<title>RailsCollab</title>
		<description>If you are using RailsCollab on Ubuntu and emails are not working, check the config and make sure the path to sendmail is /usr/sbin/sendmail .  This tripped me up because the default path to sendmail is /usr/bin/sendmail and i hardly noticed it was wrong!

Postfix in Ubuntu = /usr/sbin/sendmail </description>
		<link>http://ruby.zigzo.com/2009/02/06/railscollab/</link>
			</item>
</channel>
</rss>
