<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for Scott Motte</title>
	<atom:link href="http://scottmotte.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://scottmotte.com</link>
	<description>codes a lot</description>
	<pubDate>Tue, 06 Jan 2009 14:20:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Comment on Rails model validation without database using active_form by Oskar</title>
		<link>http://scottmotte.com/archives/274#comment-569</link>
		<dc:creator>Oskar</dc:creator>
		<pubDate>Fri, 02 Jan 2009 13:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=274#comment-569</guid>
		<description>No it's still doesn't work but I find everyting I need on gitsub page ;] and add this manually 

using wget and vim ;]</description>
		<content:encoded><![CDATA[<p>No it&#8217;s still doesn&#8217;t work but I find everyting I need on gitsub page ;] and add this manually </p>
<p>using wget and vim ;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails model validation without database using active_form by scott</title>
		<link>http://scottmotte.com/archives/274#comment-568</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Fri, 02 Jan 2009 00:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=274#comment-568</guid>
		<description>@Oskar. I'm guessing active_form did not install in your plugins folder. 

It looks like git://github.com/xgamerx/active_form.git no longer exists.

Try running the first step but with http://github.com/cs/active_form/tree/master. i.e. script/plugin install git://github.com/cs/active_form.git  

(This is one of the unfortunate aspects of rails and many ruby programmers. Plugins and gems move around often. The first place I always look for the latest stuff is on github)</description>
		<content:encoded><![CDATA[<p>@Oskar. I&#8217;m guessing active_form did not install in your plugins folder. </p>
<p>It looks like git://github.com/xgamerx/active_form.git no longer exists.</p>
<p>Try running the first step but with <a href="http://github.com/cs/active_form/tree/master" rel="nofollow">http://github.com/cs/active_form/tree/master</a>. i.e. script/plugin install git://github.com/cs/active_form.git  </p>
<p>(This is one of the unfortunate aspects of rails and many ruby programmers. Plugins and gems move around often. The first place I always look for the latest stuff is on github)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails model validation without database using active_form by Oskar</title>
		<link>http://scottmotte.com/archives/274#comment-567</link>
		<dc:creator>Oskar</dc:creator>
		<pubDate>Thu, 01 Jan 2009 21:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=274#comment-567</guid>
		<description>I've try to do that but still getting:

uninitialized constant ActiveForm

maye some clue what's going wrong?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve try to do that but still getting:</p>
<p>uninitialized constant ActiveForm</p>
<p>maye some clue what&#8217;s going wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setup Paperclip plugin with Amazon S3 to upload videos in rails by ovamode</title>
		<link>http://scottmotte.com/archives/555#comment-557</link>
		<dc:creator>ovamode</dc:creator>
		<pubDate>Sat, 27 Dec 2008 20:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=555#comment-557</guid>
		<description>Just found out that is the uri scheme for european located s3 bucket, ie : http://{bucket name}.s3.amazonaws.com/{object relative name}</description>
		<content:encoded><![CDATA[<p>Just found out that is the uri scheme for european located s3 bucket, ie : <a href="http://" rel="nofollow">http://</a>{bucket name}.s3.amazonaws.com/{object relative name}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setup Paperclip plugin with Amazon S3 to upload videos in rails by ovamode</title>
		<link>http://scottmotte.com/archives/555#comment-556</link>
		<dc:creator>ovamode</dc:creator>
		<pubDate>Sat, 27 Dec 2008 14:15:45 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=555#comment-556</guid>
		<description>Thanks, this has helped a lot.
Only one questions, when retrieving the video I get this:
The bucket you are attempting to access must be addressed using the specified endpoint.

It looks like the path should be https://yourbucketname.s3.amazonaws.com/videos/
instead of
https://s3.amazonaws.com/yourbucketname/videos/</description>
		<content:encoded><![CDATA[<p>Thanks, this has helped a lot.<br />
Only one questions, when retrieving the video I get this:<br />
The bucket you are attempting to access must be addressed using the specified endpoint.</p>
<p>It looks like the path should be <a href="https://yourbucketname.s3.amazonaws.com/videos/" rel="nofollow">https://yourbucketname.s3.amazonaws.com/videos/</a><br />
instead of<br />
<a href="https://s3.amazonaws.com/yourbucketname/videos/" rel="nofollow">https://s3.amazonaws.com/yourbucketname/videos/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on David Heinemeier Hansson on making money by Jasen</title>
		<link>http://scottmotte.com/archives/353#comment-551</link>
		<dc:creator>Jasen</dc:creator>
		<pubDate>Mon, 22 Dec 2008 21:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=353#comment-551</guid>
		<description>I like that Hemet website looks good. What is your new focus with Spitfire?  Anyway we can help?
- Jasen</description>
		<content:encoded><![CDATA[<p>I like that Hemet website looks good. What is your new focus with Spitfire?  Anyway we can help?<br />
- Jasen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on David Heinemeier Hansson on making money by Jasen</title>
		<link>http://scottmotte.com/archives/353#comment-550</link>
		<dc:creator>Jasen</dc:creator>
		<pubDate>Mon, 22 Dec 2008 17:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=353#comment-550</guid>
		<description>Remember that 37 signals selected growing industry before the growth curve.  We didn't select a growing industry but Flight Schedule Pro was before the growth curve.  If that wasn't the case I think we'd probably be starving ;)</description>
		<content:encoded><![CDATA[<p>Remember that 37 signals selected growing industry before the growth curve.  We didn&#8217;t select a growing industry but Flight Schedule Pro was before the growth curve.  If that wasn&#8217;t the case I think we&#8217;d probably be starving <img src='http://scottmotte.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on David Heinemeier Hansson on making money by scott</title>
		<link>http://scottmotte.com/archives/353#comment-549</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sun, 21 Dec 2008 02:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=353#comment-549</guid>
		<description>Hi Jasen,

It's coming along, but very slowly lately. I been pre-occupied with rebranding my Spitfire Sky company, and putting together plans and funding for its future. 

Are you on the waiting list or a user already?

Coincidentally, Hemet Flight School (where I fly out of) uses your Flight Schedule Pro software. The next app I want to start work on months down the road is actually a scheduling app to compete with yours =). Hemet Flight Center have had some qualms with it, and I do too =).</description>
		<content:encoded><![CDATA[<p>Hi Jasen,</p>
<p>It&#8217;s coming along, but very slowly lately. I been pre-occupied with rebranding my Spitfire Sky company, and putting together plans and funding for its future. </p>
<p>Are you on the waiting list or a user already?</p>
<p>Coincidentally, Hemet Flight School (where I fly out of) uses your Flight Schedule Pro software. The next app I want to start work on months down the road is actually a scheduling app to compete with yours =). Hemet Flight Center have had some qualms with it, and I do too =).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on David Heinemeier Hansson on making money by Jasen</title>
		<link>http://scottmotte.com/archives/353#comment-548</link>
		<dc:creator>Jasen</dc:creator>
		<pubDate>Sat, 20 Dec 2008 21:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=353#comment-548</guid>
		<description>Scott,

Thanks for sharing the video.  That is brilliant in its simplicity.

How is the logbook product coming along?</description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>Thanks for sharing the video.  That is brilliant in its simplicity.</p>
<p>How is the logbook product coming along?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to ban bad ips in a rails app by scott</title>
		<link>http://scottmotte.com/archives/592#comment-539</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 17 Dec 2008 17:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=592#comment-539</guid>
		<description>@kris. Good advice. I've taken it.

For those interested, replace:
redirect_to '/404.html'

with:
render :text =&gt; '401 Unauthorized', :status =&gt; 401</description>
		<content:encoded><![CDATA[<p>@kris. Good advice. I&#8217;ve taken it.</p>
<p>For those interested, replace:<br />
redirect_to &#8216;/404.html&#8217;</p>
<p>with:<br />
render :text => &#8216;401 Unauthorized&#8217;, :status => 401</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple search form with Ruby on Rails by scott</title>
		<link>http://scottmotte.com/archives/76#comment-532</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Tue, 16 Dec 2008 17:34:57 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=76#comment-532</guid>
		<description>@mghanta: For something like that, a simple search form using sql is not going to properly do the trick. You need a full text search engine.

Try out Sphinx. There is a great screencast by Ryan Bates on how to get it setup: http://railscasts.com/episodes/120-thinking-sphinx

And once you've got it set up, you can configure it to search across multiple models. Take a look at the last comment on http://freelancing-gods.com/posts/a_concise_guide_to_using_thinking_sphinx for how to do that.</description>
		<content:encoded><![CDATA[<p>@mghanta: For something like that, a simple search form using sql is not going to properly do the trick. You need a full text search engine.</p>
<p>Try out Sphinx. There is a great screencast by Ryan Bates on how to get it setup: <a href="http://railscasts.com/episodes/120-thinking-sphinx" rel="nofollow">http://railscasts.com/episodes/120-thinking-sphinx</a></p>
<p>And once you&#8217;ve got it set up, you can configure it to search across multiple models. Take a look at the last comment on <a href="http://freelancing-gods.com/posts/a_concise_guide_to_using_thinking_sphinx" rel="nofollow">http://freelancing-gods.com/posts/a_concise_guide_to_using_thinking_sphinx</a> for how to do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple search form with Ruby on Rails by mghanta</title>
		<link>http://scottmotte.com/archives/76#comment-531</link>
		<dc:creator>mghanta</dc:creator>
		<pubDate>Tue, 16 Dec 2008 15:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=76#comment-531</guid>
		<description>hi
   iam new bee to ruby on rails...I have 3 controllers category ,topic ,reply ..
i want to implement search one search fucntion for all 3 controllers

 how to do plz suggest

thank you</description>
		<content:encoded><![CDATA[<p>hi<br />
   iam new bee to ruby on rails&#8230;I have 3 controllers category ,topic ,reply ..<br />
i want to implement search one search fucntion for all 3 controllers</p>
<p> how to do plz suggest</p>
<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to ban bad ips in a rails app by kris</title>
		<link>http://scottmotte.com/archives/592#comment-528</link>
		<dc:creator>kris</dc:creator>
		<pubDate>Mon, 15 Dec 2008 22:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=592#comment-528</guid>
		<description>@scott: Authorization isn't always about whether you're logged in or not, but whether or not you are allowred to view a page. So, I would use a 401 personally.</description>
		<content:encoded><![CDATA[<p>@scott: Authorization isn&#8217;t always about whether you&#8217;re logged in or not, but whether or not you are allowred to view a page. So, I would use a 401 personally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to ban bad ips in a rails app by scott</title>
		<link>http://scottmotte.com/archives/592#comment-526</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Mon, 15 Dec 2008 18:07:54 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=592#comment-526</guid>
		<description>@kris: That's a good thought. I'm not really certain. I suppose you are probably right. 

My intention was to confuse the spammer, but maybe that's not fundamentally correct or even doing any good. However, I didn't really feel like it was an authorization issue either (in terms of log in and out) so at the time I chose the 404.

Further thoughts?</description>
		<content:encoded><![CDATA[<p>@kris: That&#8217;s a good thought. I&#8217;m not really certain. I suppose you are probably right. </p>
<p>My intention was to confuse the spammer, but maybe that&#8217;s not fundamentally correct or even doing any good. However, I didn&#8217;t really feel like it was an authorization issue either (in terms of log in and out) so at the time I chose the 404.</p>
<p>Further thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to ban bad ips in a rails app by kris</title>
		<link>http://scottmotte.com/archives/592#comment-523</link>
		<dc:creator>kris</dc:creator>
		<pubDate>Mon, 15 Dec 2008 01:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=592#comment-523</guid>
		<description>I know what you gave is an example, but wouldn't you want to send a 401 instead of redirecting to a 404? :)</description>
		<content:encoded><![CDATA[<p>I know what you gave is an example, but wouldn&#8217;t you want to send a 401 instead of redirecting to a 404? <img src='http://scottmotte.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Install ImageScience on slicehost ubuntu hardy by apie</title>
		<link>http://scottmotte.com/archives/387#comment-517</link>
		<dc:creator>apie</dc:creator>
		<pubDate>Thu, 11 Dec 2008 10:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=387#comment-517</guid>
		<description>tanks!</description>
		<content:encoded><![CDATA[<p>tanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Manage your mysql production databases on slicehost using CocoaMySQL and tunnel through SSH by scott</title>
		<link>http://scottmotte.com/archives/95#comment-516</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 11 Dec 2008 06:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=95#comment-516</guid>
		<description>You are right. Good catch. I've fixed it above so the ports match.</description>
		<content:encoded><![CDATA[<p>You are right. Good catch. I&#8217;ve fixed it above so the ports match.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Manage your mysql production databases on slicehost using CocoaMySQL and tunnel through SSH by JimW</title>
		<link>http://scottmotte.com/archives/95#comment-515</link>
		<dc:creator>JimW</dc:creator>
		<pubDate>Thu, 11 Dec 2008 06:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=95#comment-515</guid>
		<description>If you are using 2020, then I think the port specified as the first 8888 shown in the CocoaMySql dialog, should be set to 2020.

Thanks for posting this, I finally got it!
Jim</description>
		<content:encoded><![CDATA[<p>If you are using 2020, then I think the port specified as the first 8888 shown in the CocoaMySql dialog, should be set to 2020.</p>
<p>Thanks for posting this, I finally got it!<br />
Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Capistrano and git to deploy from a local location by scott</title>
		<link>http://scottmotte.com/archives/233#comment-499</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Fri, 05 Dec 2008 05:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=233#comment-499</guid>
		<description>Hi Pootsy,

:runner is a variable to make sure Capistrano runs the scripts as a specific user with adequate permissions. On some servers I've found I've needed it and others simply the :user has worked.

:domain is used by Capistrano to access the the server via ssh. Usually therefore, the domain matches the web address for a virtual host setup. However, at the time we hadn't registered the domain and were only able to access the server via it's ip address. I was forced to set :domain to the ip address. However, I still had my server configured to use uniteddev.com for the virtual host (http://articles.slicehost.com/2008/4/29/ubuntu-hardy-apache-virtual-hosts-1) so I temporarily created a variable called site_url to solve the issue. I placed this in the deploy location (:deploy_to, "/home/#{user}/public_html/#{site_url}"). Then after we registered the domain name, I changed 'site_url' to 'domain'.

Yes, the repository was on my local machine for this setting. Typically, you set this to a remote git repository location like github.

Yes, 'deploy_via :copy' archives the local repository, uploads the archive onto the server, and then extracts the archive into your deploy_to location. This is a rarely used tactic. Usually, git repositories are hosted remotely and deployed via 'remote cache'.</description>
		<content:encoded><![CDATA[<p>Hi Pootsy,</p>
<p>:runner is a variable to make sure Capistrano runs the scripts as a specific user with adequate permissions. On some servers I&#8217;ve found I&#8217;ve needed it and others simply the :user has worked.</p>
<p>:domain is used by Capistrano to access the the server via ssh. Usually therefore, the domain matches the web address for a virtual host setup. However, at the time we hadn&#8217;t registered the domain and were only able to access the server via it&#8217;s ip address. I was forced to set :domain to the ip address. However, I still had my server configured to use uniteddev.com for the virtual host (http://articles.slicehost.com/2008/4/29/ubuntu-hardy-apache-virtual-hosts-1) so I temporarily created a variable called site_url to solve the issue. I placed this in the deploy location (:deploy_to, &#8220;/home/#{user}/public_html/#{site_url}&#8221;). Then after we registered the domain name, I changed &#8217;site_url&#8217; to &#8216;domain&#8217;.</p>
<p>Yes, the repository was on my local machine for this setting. Typically, you set this to a remote git repository location like github.</p>
<p>Yes, &#8216;deploy_via :copy&#8217; archives the local repository, uploads the archive onto the server, and then extracts the archive into your deploy_to location. This is a rarely used tactic. Usually, git repositories are hosted remotely and deployed via &#8216;remote cache&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Capistrano and git to deploy from a local location by Pootsy</title>
		<link>http://scottmotte.com/archives/233#comment-498</link>
		<dc:creator>Pootsy</dc:creator>
		<pubDate>Fri, 05 Dec 2008 03:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=233#comment-498</guid>
		<description>Hey Scott, 

been looking for something like this around the net. It seems hard to find details on each of the configuration options in deploy.rb. Every example I've seen is completely different! This is similar to what I'd like to do. Just got a couple of questions if you don't mind:

what's :runner for?
what's the benefit of setting the :domain and the :site_url separately (most I've seen just have domain, and they put in the site url as the domain)?
Is the link in :repository on your local machine?
And if so, does :deploy_via, :copy simply copy the repository from your local machine to the server each time?

Thanks for any help,

Pootsy</description>
		<content:encoded><![CDATA[<p>Hey Scott, </p>
<p>been looking for something like this around the net. It seems hard to find details on each of the configuration options in deploy.rb. Every example I&#8217;ve seen is completely different! This is similar to what I&#8217;d like to do. Just got a couple of questions if you don&#8217;t mind:</p>
<p>what&#8217;s :runner for?<br />
what&#8217;s the benefit of setting the :domain and the :site_url separately (most I&#8217;ve seen just have domain, and they put in the site url as the domain)?<br />
Is the link in :repository on your local machine?<br />
And if so, does :deploy_via, :copy simply copy the repository from your local machine to the server each time?</p>
<p>Thanks for any help,</p>
<p>Pootsy</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using google charts api with rails (googlechart gem) by ivan</title>
		<link>http://scottmotte.com/archives/130#comment-493</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Fri, 28 Nov 2008 21:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=130#comment-493</guid>
		<description>Great gem. We use it too.</description>
		<content:encoded><![CDATA[<p>Great gem. We use it too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb simple_format helper by Matt Aimonetti</title>
		<link>http://scottmotte.com/archives/562#comment-492</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Thu, 27 Nov 2008 23:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=562#comment-492</guid>
		<description>No problem Scott :)</description>
		<content:encoded><![CDATA[<p>No problem Scott <img src='http://scottmotte.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to run rake in production mode on your server by scott</title>
		<link>http://scottmotte.com/archives/547#comment-489</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Mon, 24 Nov 2008 16:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=547#comment-489</guid>
		<description>fixed. thanks.</description>
		<content:encoded><![CDATA[<p>fixed. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to run rake in production mode on your server by kris</title>
		<link>http://scottmotte.com/archives/547#comment-488</link>
		<dc:creator>kris</dc:creator>
		<pubDate>Mon, 24 Nov 2008 05:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=547#comment-488</guid>
		<description>in your code higlighting, you mispelled `rake' as `ake'

http://gist.github.com/26982.js</description>
		<content:encoded><![CDATA[<p>in your code higlighting, you mispelled `rake&#8217; as `ake&#8217;</p>
<p><a href="http://gist.github.com/26982.js" rel="nofollow">http://gist.github.com/26982.js</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setup Paperclip plugin with Amazon S3 to upload videos in rails by Clayton</title>
		<link>http://scottmotte.com/archives/555#comment-487</link>
		<dc:creator>Clayton</dc:creator>
		<pubDate>Mon, 24 Nov 2008 04:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=555#comment-487</guid>
		<description>Thanks for the backlink!</description>
		<content:encoded><![CDATA[<p>Thanks for the backlink!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on UPDATED: Email validation/activation with rails, restful_authentication, and gmail smtp by Scott Motte &#187; Blog Archive &#187; Using Gmail with IMAP to Receive Email in Rails (cron job version)</title>
		<link>http://scottmotte.com/archives/297#comment-486</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; Using Gmail with IMAP to Receive Email in Rails (cron job version)</dc:creator>
		<pubDate>Thu, 20 Nov 2008 06:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=297#comment-486</guid>
		<description>[...] Your rails app should already have the ability to send out emails 2. Your Rails app must already be capified via Capistrano or similar with some type of deployment [...]</description>
		<content:encoded><![CDATA[<p>[...] Your rails app should already have the ability to send out emails 2. Your Rails app must already be capified via Capistrano or similar with some type of deployment [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AJAX delete button, link_to_remote with rails by ae</title>
		<link>http://scottmotte.com/archives/73#comment-485</link>
		<dc:creator>ae</dc:creator>
		<pubDate>Thu, 20 Nov 2008 03:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=73#comment-485</guid>
		<description>very cool...now if I can just do a "fadeOut"...</description>
		<content:encoded><![CDATA[<p>very cool&#8230;now if I can just do a &#8220;fadeOut&#8221;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a contact form mailer in merb using sendmail and merb-mailer by Matt Aimonetti</title>
		<link>http://scottmotte.com/archives/527#comment-483</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Wed, 19 Nov 2008 08:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=527#comment-483</guid>
		<description>thanks for sharing, that's really appreciated. (and thanks for posting your tutorial in the wiki)

-Matt</description>
		<content:encoded><![CDATA[<p>thanks for sharing, that&#8217;s really appreciated. (and thanks for posting your tutorial in the wiki)</p>
<p>-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginner&#8217;s guide to installing merb by Double Shot #333 &#171; A Fresh Cup</title>
		<link>http://scottmotte.com/archives/515#comment-481</link>
		<dc:creator>Double Shot #333 &#171; A Fresh Cup</dc:creator>
		<pubDate>Mon, 17 Nov 2008 11:38:27 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=515#comment-481</guid>
		<description>[...] Beginner&#8217;s Guide to Installing Merb - Updated for Merb 1.0. Still some hoops to jump through. [...]</description>
		<content:encoded><![CDATA[<p>[...] Beginner&#8217;s Guide to Installing Merb - Updated for Merb 1.0. Still some hoops to jump through. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginner&#8217;s guide to installing merb by afrench</title>
		<link>http://scottmotte.com/archives/515#comment-480</link>
		<dc:creator>afrench</dc:creator>
		<pubDate>Sat, 15 Nov 2008 18:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=515#comment-480</guid>
		<description>sudo gem install data_mapper

it'll set you up with data-objects, dm-core, and a few of the most frequently used gems from dm-more

simple as that</description>
		<content:encoded><![CDATA[<p>sudo gem install data_mapper</p>
<p>it&#8217;ll set you up with data-objects, dm-core, and a few of the most frequently used gems from dm-more</p>
<p>simple as that</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up ssl on nginx on slicehost with ssl_requirement plugin by Vishu</title>
		<link>http://scottmotte.com/archives/139#comment-479</link>
		<dc:creator>Vishu</dc:creator>
		<pubDate>Thu, 13 Nov 2008 18:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=139#comment-479</guid>
		<description>Great post. Thanks.

At first I got an error from godaddy:
"The CSR you have created includes a possible compromised key."

Had to upgrade openssl. We were on 0.9.8e</description>
		<content:encoded><![CDATA[<p>Great post. Thanks.</p>
<p>At first I got an error from godaddy:<br />
&#8220;The CSR you have created includes a possible compromised key.&#8221;</p>
<p>Had to upgrade openssl. We were on 0.9.8e</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Useful scripts with mechanize, hpricot, and htmldoc by Peter</title>
		<link>http://scottmotte.com/archives/115#comment-477</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 13 Nov 2008 03:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=115#comment-477</guid>
		<description>Thank you Scott, your examples have been a great help.

Peter</description>
		<content:encoded><![CDATA[<p>Thank you Scott, your examples have been a great help.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact email form with Ruby on Rails and GMail (plus, reply-to error) by scott</title>
		<link>http://scottmotte.com/archives/159#comment-471</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 12 Nov 2008 21:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=159#comment-471</guid>
		<description>Thanks Stephen for your comments. By the way, great country Scotland, I really enjoyed my brief time there a few years ago.</description>
		<content:encoded><![CDATA[<p>Thanks Stephen for your comments. By the way, great country Scotland, I really enjoyed my brief time there a few years ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact email form with Ruby on Rails and GMail (plus, reply-to error) by stephen</title>
		<link>http://scottmotte.com/archives/159#comment-470</link>
		<dc:creator>stephen</dc:creator>
		<pubDate>Wed, 12 Nov 2008 21:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=159#comment-470</guid>
		<description>Oh, and I hope you don't mind me mentioning, just for all the noobs our there who might not know this, but it is a good idea to put an if statement into your controller code:

def send_mail
  if request.post?
   Emailer::deliver_contact_email(params[:email])
   redirect_back_or_default('/')
   flash[:notice] = "Message sent, thanks very much etc etc etc"
end

Now your users will know if the mail was sent.  I needed the redirect_back_or_default('/') statement in my controller too as I was getting a 'template missing error' without it.

Thanks again</description>
		<content:encoded><![CDATA[<p>Oh, and I hope you don&#8217;t mind me mentioning, just for all the noobs our there who might not know this, but it is a good idea to put an if statement into your controller code:</p>
<p>def send_mail<br />
  if request.post?<br />
   Emailer::deliver_contact_email(params[:email])<br />
   redirect_back_or_default(&#8217;/')<br />
   flash[:notice] = &#8220;Message sent, thanks very much etc etc etc&#8221;<br />
end</p>
<p>Now your users will know if the mail was sent.  I needed the redirect_back_or_default(&#8217;/') statement in my controller too as I was getting a &#8216;template missing error&#8217; without it.</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact email form with Ruby on Rails and GMail (plus, reply-to error) by stephen</title>
		<link>http://scottmotte.com/archives/159#comment-469</link>
		<dc:creator>stephen</dc:creator>
		<pubDate>Wed, 12 Nov 2008 20:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=159#comment-469</guid>
		<description>Hi, thanks for the nice tutorial, it works perfectly.

I did things a little differently from yourself because I already have an ActionMailer set up to handle signup emails and activation codes (a la restful_authentication) and I have been using the very same smtp_tls.rb file that you use in your tutorial.  Nice little bit of code that.  I do appreciate it.

I put the gmail configuration stuff you mention at the end of my environment.rb file and then I put my own personal gmail details in the file you specify - this way my site can send and receive emails.

Anyway, this was a good tutorial, it worked right away, cheers.
I am in the middle of throwing my own site together right now and it only took me 20 minutes to get the contact form working, and that includes the 16 or so minutes spent reading the football scores on bbc.com.

Thanks again,
Stephen</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the nice tutorial, it works perfectly.</p>
<p>I did things a little differently from yourself because I already have an ActionMailer set up to handle signup emails and activation codes (a la restful_authentication) and I have been using the very same smtp_tls.rb file that you use in your tutorial.  Nice little bit of code that.  I do appreciate it.</p>
<p>I put the gmail configuration stuff you mention at the end of my environment.rb file and then I put my own personal gmail details in the file you specify - this way my site can send and receive emails.</p>
<p>Anyway, this was a good tutorial, it worked right away, cheers.<br />
I am in the middle of throwing my own site together right now and it only took me 20 minutes to get the contact form working, and that includes the 16 or so minutes spent reading the football scores on bbc.com.</p>
<p>Thanks again,<br />
Stephen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to install gems for Ruby Enterprise (REE) and Phusion (passenger, mod_rails) by Scott</title>
		<link>http://scottmotte.com/archives/389#comment-466</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 09 Nov 2008 02:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=389#comment-466</guid>
		<description>Also, here's a great way to copy all your gems over automatically: http://pastie.org/310421

Taken from http://griffin.oobleyboo.com/archive/ruby-enterprise-edition-gem-install-script/ with the addition of sudo user.</description>
		<content:encoded><![CDATA[<p>Also, here&#8217;s a great way to copy all your gems over automatically: <a href="http://pastie.org/310421" rel="nofollow">http://pastie.org/310421</a></p>
<p>Taken from <a href="http://griffin.oobleyboo.com/archive/ruby-enterprise-edition-gem-install-script/" rel="nofollow">http://griffin.oobleyboo.com/archive/ruby-enterprise-edition-gem-install-script/</a> with the addition of sudo user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Merb: Use thor to get merb:edge by scott</title>
		<link>http://scottmotte.com/archives/432#comment-463</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 30 Oct 2008 01:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=432#comment-463</guid>
		<description>@Michael. I am almost positive this doesn't work now. Merb is supposed to have its own stack now, but I haven't found time to play with it yet. 

Talk to the guys on #merb channel, but I think installing merb is now as easy as "sudo gem install merb"</description>
		<content:encoded><![CDATA[<p>@Michael. I am almost positive this doesn&#8217;t work now. Merb is supposed to have its own stack now, but I haven&#8217;t found time to play with it yet. </p>
<p>Talk to the guys on #merb channel, but I think installing merb is now as easy as &#8220;sudo gem install merb&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Merb: Use thor to get merb:edge by Michael Johnston</title>
		<link>http://scottmotte.com/archives/432#comment-460</link>
		<dc:creator>Michael Johnston</dc:creator>
		<pubDate>Wed, 29 Oct 2008 19:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=432#comment-460</guid>
		<description>does this still work?

It seems this now (as of October 28 2008) will create a gems folder and install the gems there, not install them globally.</description>
		<content:encoded><![CDATA[<p>does this still work?</p>
<p>It seems this now (as of October 28 2008) will create a gems folder and install the gems there, not install them globally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying your rails app on slicehost with git (github), nginx virtual host, and thin by scott</title>
		<link>http://scottmotte.com/archives/94#comment-455</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 23 Oct 2008 18:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=94#comment-455</guid>
		<description>Yea, actually, you could put the stop and start tasks inside the same cron namespace. I don't know why I put them separately. Didn't really know what I was doing at the time I suppose. =)

Also, just realized my blog strangled the &gt; sign so everywhere you see &#62; it should be the actually greater than sign &gt;.</description>
		<content:encoded><![CDATA[<p>Yea, actually, you could put the stop and start tasks inside the same cron namespace. I don&#8217;t know why I put them separately. Didn&#8217;t really know what I was doing at the time I suppose. =)</p>
<p>Also, just realized my blog strangled the > sign so everywhere you see &gt; it should be the actually greater than sign >.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying your rails app on slicehost with git (github), nginx virtual host, and thin by Millisami</title>
		<link>http://scottmotte.com/archives/94#comment-454</link>
		<dc:creator>Millisami</dc:creator>
		<pubDate>Thu, 23 Oct 2008 09:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=94#comment-454</guid>
		<description>@scott - Thanks for the reply.
One more thing I forgot to ask about is the cron.
Why "namespace :cron do" is in 2 namespace blocks and what its really doing?</description>
		<content:encoded><![CDATA[<p>@scott - Thanks for the reply.<br />
One more thing I forgot to ask about is the cron.<br />
Why &#8220;namespace :cron do&#8221; is in 2 namespace blocks and what its really doing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying your rails app on slicehost with git (github), nginx virtual host, and thin by scott</title>
		<link>http://scottmotte.com/archives/94#comment-453</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 22 Oct 2008 23:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=94#comment-453</guid>
		<description>@Millisami - shared path gets set automatically by capistrano to your apps shared folder. So in this case it was ~/apps/undertakerapp/shared</description>
		<content:encoded><![CDATA[<p>@Millisami - shared path gets set automatically by capistrano to your apps shared folder. So in this case it was ~/apps/undertakerapp/shared</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying your rails app on slicehost with git (github), nginx virtual host, and thin by Millisami</title>
		<link>http://scottmotte.com/archives/94#comment-452</link>
		<dc:creator>Millisami</dc:creator>
		<pubDate>Wed, 22 Oct 2008 19:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=94#comment-452</guid>
		<description>@Scott, 
where's that #{shared_path} var set to??</description>
		<content:encoded><![CDATA[<p>@Scott,<br />
where&#8217;s that #{shared_path} var set to??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding roles to restful_authentication by John Yerhot</title>
		<link>http://scottmotte.com/archives/106#comment-451</link>
		<dc:creator>John Yerhot</dc:creator>
		<pubDate>Wed, 22 Oct 2008 18:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=106#comment-451</guid>
		<description>I was getting WARNING: Can't mass-assign these protected attributes: while using attachment_fu and this helped out a lot.

Cheeers!</description>
		<content:encoded><![CDATA[<p>I was getting WARNING: Can&#8217;t mass-assign these protected attributes: while using attachment_fu and this helped out a lot.</p>
<p>Cheeers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to setup wysiwyg editing for rails - yui_editor by Nicklas Ramhöj</title>
		<link>http://scottmotte.com/archives/196#comment-450</link>
		<dc:creator>Nicklas Ramhöj</dc:creator>
		<pubDate>Mon, 20 Oct 2008 13:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=196#comment-450</guid>
		<description>Hi.

I'm trying to integrate the yui_editor with the in_place_editing-plugin.

I'm calling:

var editor = new YAHOO.widget.#{editor_class}(textAreaId,#{options[:editor_config_javascript] &#124;&#124; '{}'});
    editor.render();
global_editors.push( editor );

From controls.js

But I getting an error saying that global_editors is undefined.

When I use the plugin as intended (rendering rich editor fields onLoad) it works, but I can't figure out where global_editors is defined...? Is global_editors some kind of global js-variable? And if that's the case, why isn't defined in my new context?

Many thinks in advance,
Kind regards,
Nicklas Ramhöj</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I&#8217;m trying to integrate the yui_editor with the in_place_editing-plugin.</p>
<p>I&#8217;m calling:</p>
<p>var editor = new YAHOO.widget.#{editor_class}(textAreaId,#{options[:editor_config_javascript] || &#8216;{}&#8217;});<br />
    editor.render();<br />
global_editors.push( editor );</p>
<p>From controls.js</p>
<p>But I getting an error saying that global_editors is undefined.</p>
<p>When I use the plugin as intended (rendering rich editor fields onLoad) it works, but I can&#8217;t figure out where global_editors is defined&#8230;? Is global_editors some kind of global js-variable? And if that&#8217;s the case, why isn&#8217;t defined in my new context?</p>
<p>Many thinks in advance,<br />
Kind regards,<br />
Nicklas Ramhöj</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on merb-auth beginner&#8217;s tutorial by scott</title>
		<link>http://scottmotte.com/archives/421#comment-439</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Mon, 13 Oct 2008 15:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=421#comment-439</guid>
		<description>awesome. thanks hassox.</description>
		<content:encoded><![CDATA[<p>awesome. thanks hassox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on merb-auth beginner&#8217;s tutorial by hassox</title>
		<link>http://scottmotte.com/archives/421#comment-437</link>
		<dc:creator>hassox</dc:creator>
		<pubDate>Sun, 12 Oct 2008 19:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=421#comment-437</guid>
		<description>Hey Scott, 

Mauth, now merb-auth is now available in the merb-more repo.

:)</description>
		<content:encoded><![CDATA[<p>Hey Scott, </p>
<p>Mauth, now merb-auth is now available in the merb-more repo.</p>
<p> <img src='http://scottmotte.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Useful scripts with mechanize, hpricot, and htmldoc by Mike</title>
		<link>http://scottmotte.com/archives/115#comment-435</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 10 Oct 2008 23:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=115#comment-435</guid>
		<description>Hi again, ehm...ignore the message above. In order to generate pdf documents I had to build from source.</description>
		<content:encoded><![CDATA[<p>Hi again, ehm&#8230;ignore the message above. In order to generate pdf documents I had to build from source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Useful scripts with mechanize, hpricot, and htmldoc by Mike</title>
		<link>http://scottmotte.com/archives/115#comment-434</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 10 Oct 2008 22:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=115#comment-434</guid>
		<description>I fixed the problem by setting the program path:

PDF::HTMLDoc.program_path="/opt/local/lib/ruby/gems/1.8/gems/htmldoc-0.2.1/lib/htmldoc"

Now the program runs, although results with no joy.

page.body does have content, however no pdf is created.

Insight appreciated, thanks!</description>
		<content:encoded><![CDATA[<p>I fixed the problem by setting the program path:</p>
<p>PDF::HTMLDoc.program_path=&#8221;/opt/local/lib/ruby/gems/1.8/gems/htmldoc-0.2.1/lib/htmldoc&#8221;</p>
<p>Now the program runs, although results with no joy.</p>
<p>page.body does have content, however no pdf is created.</p>
<p>Insight appreciated, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Useful scripts with mechanize, hpricot, and htmldoc by Mike</title>
		<link>http://scottmotte.com/archives/115#comment-432</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 10 Oct 2008 20:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=115#comment-432</guid>
		<description>Hi Scott,

Thank you for the examples.

When trying to run the first example I get the error:

/opt/local/lib/ruby/gems/1.8/gems/htmldoc-0.2.1/lib/htmldoc.rb:182:in `execute': Invalid program path: htmldoc (PDF::HTMLDocException)
	from /opt/local/lib/ruby/gems/1.8/gems/htmldoc-0.2.1/lib/htmldoc.rb:154:in `generate'
	from pdf.rb:18

I'm using:
htmldoc (0.2.1)
Rails 2.1.1
ruby 1.8.7

on a mac osx 10.5.4.

I could not google that error. It actually occurs with every htmldoc script I run.

Do you have any advice?

Thanks!
Mike</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>Thank you for the examples.</p>
<p>When trying to run the first example I get the error:</p>
<p>/opt/local/lib/ruby/gems/1.8/gems/htmldoc-0.2.1/lib/htmldoc.rb:182:in `execute&#8217;: Invalid program path: htmldoc (PDF::HTMLDocException)<br />
	from /opt/local/lib/ruby/gems/1.8/gems/htmldoc-0.2.1/lib/htmldoc.rb:154:in `generate&#8217;<br />
	from pdf.rb:18</p>
<p>I&#8217;m using:<br />
htmldoc (0.2.1)<br />
Rails 2.1.1<br />
ruby 1.8.7</p>
<p>on a mac osx 10.5.4.</p>
<p>I could not google that error. It actually occurs with every htmldoc script I run.</p>
<p>Do you have any advice?</p>
<p>Thanks!<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Merb: Use thor to get merb:edge by Chris V</title>
		<link>http://scottmotte.com/archives/432#comment-423</link>
		<dc:creator>Chris V</dc:creator>
		<pubDate>Mon, 06 Oct 2008 15:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=432#comment-423</guid>
		<description>I was trying to do a local only install of the edge and this really helped. But, for a local only install, the merb_datamapper doesn't work (and since I didn't install the gems in the system it couldn't find depenedencies). 

The fix was simple. 
cd ~/documents/code/merb/sources/dm-more/merb_datamapper
gem clobber_package
gem package
gem install --install-dir ~/documents/code/merb/gems -f pkg/merb_datamapper-0.9.8.gem

Hope this helps someone.</description>
		<content:encoded><![CDATA[<p>I was trying to do a local only install of the edge and this really helped. But, for a local only install, the merb_datamapper doesn&#8217;t work (and since I didn&#8217;t install the gems in the system it couldn&#8217;t find depenedencies). </p>
<p>The fix was simple.<br />
cd ~/documents/code/merb/sources/dm-more/merb_datamapper<br />
gem clobber_package<br />
gem package<br />
gem install &#8211;install-dir ~/documents/code/merb/gems -f pkg/merb_datamapper-0.9.8.gem</p>
<p>Hope this helps someone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding roles to restful_authentication by Les</title>
		<link>http://scottmotte.com/archives/106#comment-401</link>
		<dc:creator>Les</dc:creator>
		<pubDate>Sun, 28 Sep 2008 17:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=106#comment-401</guid>
		<description>Scott, thanks for this - it really helps clear some of the role based stuff up for me.

If I was to need to set a role by default - would you have any tips for what to add and where?  I'm having a brain freeze on it!  What does this line mean:

params[:user][:role_ids] &#124;&#124;= []

?

Thanks

L</description>
		<content:encoded><![CDATA[<p>Scott, thanks for this - it really helps clear some of the role based stuff up for me.</p>
<p>If I was to need to set a role by default - would you have any tips for what to add and where?  I&#8217;m having a brain freeze on it!  What does this line mean:</p>
<p>params[:user][:role_ids] ||= []</p>
<p>?</p>
<p>Thanks</p>
<p>L</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Merb: Use thor to get merb:edge by Clint Hill &#187; Blog Archive &#187; &#8220;windows&#8221; man walking</title>
		<link>http://scottmotte.com/archives/432#comment-376</link>
		<dc:creator>Clint Hill &#187; Blog Archive &#187; &#8220;windows&#8221; man walking</dc:creator>
		<pubDate>Wed, 24 Sep 2008 19:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=432#comment-376</guid>
		<description>[...] We actually need to get Merb first. The rest of this post will politely be stolen from this post. There are a few hiccups along the way due to Cygwin and Windows that I will [...]</description>
		<content:encoded><![CDATA[<p>[...] We actually need to get Merb first. The rest of this post will politely be stolen from this post. There are a few hiccups along the way due to Cygwin and Windows that I will [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Merb: Use thor to get merb:edge by scott</title>
		<link>http://scottmotte.com/archives/432#comment-371</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 24 Sep 2008 00:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=432#comment-371</guid>
		<description>@Peter: thanks, i've updated the post with your change. (an earlier thor included the tasks I mentioned, but no longer does as far as I can tell.)

@Clint Hill: thanks Clint. good to know for any windows users using cygwin.</description>
		<content:encoded><![CDATA[<p>@Peter: thanks, i&#8217;ve updated the post with your change. (an earlier thor included the tasks I mentioned, but no longer does as far as I can tell.)</p>
<p>@Clint Hill: thanks Clint. good to know for any windows users using cygwin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Merb: Use thor to get merb:edge by Clint Hill</title>
		<link>http://scottmotte.com/archives/432#comment-370</link>
		<dc:creator>Clint Hill</dc:creator>
		<pubDate>Tue, 23 Sep 2008 16:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=432#comment-370</guid>
		<description>Thanks for the post. 

Just wanted to note (maybe for others) that ruby2ruby and ParseTree bomb out in Cygwin. Their dependencies on each other really screw up the install call you have above. 

They will install together or separately but not while in the list as shown above. Even when the order is switched to match dependency (ParseTree first then ruby2ruby). 

I have them installed but fought this a little bit and wanted to mention it.</description>
		<content:encoded><![CDATA[<p>Thanks for the post. </p>
<p>Just wanted to note (maybe for others) that ruby2ruby and ParseTree bomb out in Cygwin. Their dependencies on each other really screw up the install call you have above. </p>
<p>They will install together or separately but not while in the list as shown above. Even when the order is switched to match dependency (ParseTree first then ruby2ruby). </p>
<p>I have them installed but fought this a little bit and wanted to mention it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on merb-auth beginner&#8217;s tutorial by scott</title>
		<link>http://scottmotte.com/archives/421#comment-346</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Fri, 19 Sep 2008 21:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=421#comment-346</guid>
		<description>Thanks Matt for the pointer. I will check that out.</description>
		<content:encoded><![CDATA[<p>Thanks Matt for the pointer. I will check that out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Merb: Use thor to get merb:edge by Peter</title>
		<link>http://scottmotte.com/archives/432#comment-345</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 19 Sep 2008 21:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=432#comment-345</guid>
		<description>Hi, nice post.

I think it is thor merb:edge:dm_more --install

Tks,

Peter.</description>
		<content:encoded><![CDATA[<p>Hi, nice post.</p>
<p>I think it is thor merb:edge:dm_more &#8211;install</p>
<p>Tks,</p>
<p>Peter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing git on your slicehost and managing it with gitosis by Scott Motte &#187; Blog Archive &#187; How to setup a remote git server</title>
		<link>http://scottmotte.com/archives/209#comment-343</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; How to setup a remote git server</dc:creator>
		<pubDate>Fri, 19 Sep 2008 16:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=209#comment-343</guid>
		<description>[...] Some is taken from my attempts at using gitosis [...]</description>
		<content:encoded><![CDATA[<p>[...] Some is taken from my attempts at using gitosis [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on merb-auth beginner&#8217;s tutorial by Matt Aimonetti</title>
		<link>http://scottmotte.com/archives/421#comment-324</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Wed, 17 Sep 2008 17:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=421#comment-324</guid>
		<description>Hassox rewrote merb-auth in 2 parts, mauth and some slices. Check his mauth branch on github to get some good info what what he's working on.</description>
		<content:encoded><![CDATA[<p>Hassox rewrote merb-auth in 2 parts, mauth and some slices. Check his mauth branch on github to get some good info what what he&#8217;s working on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Install ImageScience on slicehost ubuntu hardy by Brian</title>
		<link>http://scottmotte.com/archives/387#comment-321</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Wed, 17 Sep 2008 08:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=387#comment-321</guid>
		<description>Hi Everyone,

Getting FreeImage working was a freakin nightmare.  But I thougt I'd leave a trail for those who follow.

I got it up and going decently at first, gif's worked, but not jpegs.  I eventually tracked down this, which talks about some conflict with the jpeg library:
https://bugs.launchpad.net/ubuntu/+source/freeimage/+bug/128026

If your production environment happens to be Ubuntu Gutsy like me (on slicehost) then you might find this useful:

http://pastie.org/pastes/104754

I don't know who put it there but it saved my bacon.

FYI, there were some other things i had to do to get that working.  For example, I had to change line 8 to this:
apt-get source libjpeg6b

I also had to install some tools along the way as I got errors, such as:
sudo apt-get install liburi-perl
sudo apt-get install fakeroot

Also, after running line 23 I got an error like this:

Now signing changes and any dsc files...
 signfile freeimage_3.9.3-3ubuntu1.dsc Brian Armstrong 
gpg: skipped "Brian Armstrong ": secret key not available
gpg: [stdin]: clearsign failed: secret key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1174:
running debsign failed
debuild returned 29
Couldn't run 'debuild -i\.git/ -I.git'

Which was only resolved by going and reading about gpg:
http://www.quantumlab.net/pine_privacy_guard/howto_setup_gpg.html

I had to go through the steps of "gpg --gen-key" and create a passphrase with that exact name and info "Brian Armstrong ". Before line 23 would run.

I have no idea what any of this does...personally I hate anything that invovles a "make install" to get it working (mostly because it never seems to work right).

I can't believe it's really this hard to get this working.  Anyway, thanks to ImageScience for a cool program...I know it's not your fault FreeImage is so difficult.

Best of luck to everyone, and I really hope these things get easier over time for rails developers everywhere.
Brian
brian at startbreakingfree dot com</description>
		<content:encoded><![CDATA[<p>Hi Everyone,</p>
<p>Getting FreeImage working was a freakin nightmare.  But I thougt I&#8217;d leave a trail for those who follow.</p>
<p>I got it up and going decently at first, gif&#8217;s worked, but not jpegs.  I eventually tracked down this, which talks about some conflict with the jpeg library:<br />
<a href="https://bugs.launchpad.net/ubuntu/+source/freeimage/+bug/128026" rel="nofollow">https://bugs.launchpad.net/ubuntu/+source/freeimage/+bug/128026</a></p>
<p>If your production environment happens to be Ubuntu Gutsy like me (on slicehost) then you might find this useful:</p>
<p><a href="http://pastie.org/pastes/104754" rel="nofollow">http://pastie.org/pastes/104754</a></p>
<p>I don&#8217;t know who put it there but it saved my bacon.</p>
<p>FYI, there were some other things i had to do to get that working.  For example, I had to change line 8 to this:<br />
apt-get source libjpeg6b</p>
<p>I also had to install some tools along the way as I got errors, such as:<br />
sudo apt-get install liburi-perl<br />
sudo apt-get install fakeroot</p>
<p>Also, after running line 23 I got an error like this:</p>
<p>Now signing changes and any dsc files&#8230;<br />
 signfile freeimage_3.9.3-3ubuntu1.dsc Brian Armstrong<br />
gpg: skipped &#8220;Brian Armstrong &#8220;: secret key not available<br />
gpg: [stdin]: clearsign failed: secret key not available<br />
debsign: gpg error occurred!  Aborting&#8230;.<br />
debuild: fatal error at line 1174:<br />
running debsign failed<br />
debuild returned 29<br />
Couldn&#8217;t run &#8216;debuild -i\.git/ -I.git&#8217;</p>
<p>Which was only resolved by going and reading about gpg:<br />
<a href="http://www.quantumlab.net/pine_privacy_guard/howto_setup_gpg.html" rel="nofollow">http://www.quantumlab.net/pine_privacy_guard/howto_setup_gpg.html</a></p>
<p>I had to go through the steps of &#8220;gpg &#8211;gen-key&#8221; and create a passphrase with that exact name and info &#8220;Brian Armstrong &#8220;. Before line 23 would run.</p>
<p>I have no idea what any of this does&#8230;personally I hate anything that invovles a &#8220;make install&#8221; to get it working (mostly because it never seems to work right).</p>
<p>I can&#8217;t believe it&#8217;s really this hard to get this working.  Anyway, thanks to ImageScience for a cool program&#8230;I know it&#8217;s not your fault FreeImage is so difficult.</p>
<p>Best of luck to everyone, and I really hope these things get easier over time for rails developers everywhere.<br />
Brian<br />
brian at startbreakingfree dot com</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by Scott Motte &#187; Blog Archive &#187; merb-auth beginner&#8217;s tutorial</title>
		<link>http://scottmotte.com/archives/391#comment-320</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; merb-auth beginner&#8217;s tutorial</dc:creator>
		<pubDate>Wed, 17 Sep 2008 02:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-320</guid>
		<description>[...] (this assumes you&#8217;ve already setup merb using this tutorial or something similar) [...]</description>
		<content:encoded><![CDATA[<p>[...] (this assumes you&#8217;ve already setup merb using this tutorial or something similar) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to setup wysiwyg editing for rails - yui_editor by renuka</title>
		<link>http://scottmotte.com/archives/196#comment-317</link>
		<dc:creator>renuka</dc:creator>
		<pubDate>Mon, 15 Sep 2008 08:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=196#comment-317</guid>
		<description>Hi,

I want to copy all code from ysi_editor textarea with html so is it possible?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I want to copy all code from ysi_editor textarea with html so is it possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to setup TinyMCE for Ruby on Rails by renuka</title>
		<link>http://scottmotte.com/archives/65#comment-316</link>
		<dc:creator>renuka</dc:creator>
		<pubDate>Mon, 15 Sep 2008 05:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=65#comment-316</guid>
		<description>Thank you very much scott its working :)</description>
		<content:encoded><![CDATA[<p>Thank you very much scott its working <img src='http://scottmotte.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Capistrano and git to deploy from a local location by Scott</title>
		<link>http://scottmotte.com/archives/233#comment-310</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 14 Sep 2008 19:10:14 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=233#comment-310</guid>
		<description>Add in set :copy_cache, true to make things faster by using a cached copy.</description>
		<content:encoded><![CDATA[<p>Add in set :copy_cache, true to make things faster by using a cached copy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing git on your slicehost and managing it with gitosis by Scott</title>
		<link>http://scottmotte.com/archives/209#comment-308</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 14 Sep 2008 07:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=209#comment-308</guid>
		<description>This is an easy way to get going with a git server. http://blog.commonthread.com/2008/4/14/setting-up-a-git-server</description>
		<content:encoded><![CDATA[<p>This is an easy way to get going with a git server. <a href="http://blog.commonthread.com/2008/4/14/setting-up-a-git-server" rel="nofollow">http://blog.commonthread.com/2008/4/14/setting-up-a-git-server</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by oren</title>
		<link>http://scottmotte.com/archives/391#comment-307</link>
		<dc:creator>oren</dc:creator>
		<pubDate>Sun, 14 Sep 2008 03:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-307</guid>
		<description>i'll do it. thanks so much for the effort.</description>
		<content:encoded><![CDATA[<p>i&#8217;ll do it. thanks so much for the effort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by Scott</title>
		<link>http://scottmotte.com/archives/391#comment-306</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 13 Sep 2008 23:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-306</guid>
		<description>That tells me there is something wrong with your ubuntu or gem setup oren. I don't know that stuff too well though so. You might try starting from scratch using the info on articles.slicehost.com. This is who I use for my ubuntu server, and they have great articles.</description>
		<content:encoded><![CDATA[<p>That tells me there is something wrong with your ubuntu or gem setup oren. I don&#8217;t know that stuff too well though so. You might try starting from scratch using the info on articles.slicehost.com. This is who I use for my ubuntu server, and they have great articles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by oren</title>
		<link>http://scottmotte.com/archives/391#comment-305</link>
		<dc:creator>oren</dc:creator>
		<pubDate>Sat, 13 Sep 2008 20:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-305</guid>
		<description>thanks.  now i get true for both cases in irb but still get this:

sudo thor
sudo: thor: command not found</description>
		<content:encoded><![CDATA[<p>thanks.  now i get true for both cases in irb but still get this:</p>
<p>sudo thor<br />
sudo: thor: command not found</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by scott</title>
		<link>http://scottmotte.com/archives/391#comment-304</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sat, 13 Sep 2008 18:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-304</guid>
		<description>You're getting that irb error because I think you copied and pasted require ‘rubygems’. Type it in by hand instead. This blog changes quotation marks into their fancier encoded version '</description>
		<content:encoded><![CDATA[<p>You&#8217;re getting that irb error because I think you copied and pasted require ‘rubygems’. Type it in by hand instead. This blog changes quotation marks into their fancier encoded version &#8216;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to setup TinyMCE for Ruby on Rails by scott</title>
		<link>http://scottmotte.com/archives/65#comment-303</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sat, 13 Sep 2008 18:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=65#comment-303</guid>
		<description>renuka. I had the same problem. I solved it by using the yui editor setup instead - http://scottmotte.com/archives/196. 

You can specify a class like  :class =&gt; 'blog_post',  that shows the text editor. And without that class the textarea will not include the editor buttons.

Just follow the readme here to get it setup: http://github.com/larsklevan/yui_editor/tree/master</description>
		<content:encoded><![CDATA[<p>renuka. I had the same problem. I solved it by using the yui editor setup instead - <a href="http://scottmotte.com/archives/196" rel="nofollow">http://scottmotte.com/archives/196</a>. </p>
<p>You can specify a class like  :class => &#8216;blog_post&#8217;,  that shows the text editor. And without that class the textarea will not include the editor buttons.</p>
<p>Just follow the readme here to get it setup: <a href="http://github.com/larsklevan/yui_editor/tree/master" rel="nofollow">http://github.com/larsklevan/yui_editor/tree/master</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by oren</title>
		<link>http://scottmotte.com/archives/391#comment-302</link>
		<dc:creator>oren</dc:creator>
		<pubDate>Sat, 13 Sep 2008 17:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-302</guid>
		<description>btw, here are all my ruby packages. maybe i use old version of something?
dpkg -l &#124; grep ruby
ii  libgems-ruby1.8                                               1.1.1-1~hardy1                           libraries to use RubyGems, a package managem
ii  libopenssl-ruby1.8                                            1.8.6.111-2ubuntu1.1                     OpenSSL interface for Ruby 1.8
ii  libreadline-ruby1.8                                           1.8.6.111-2ubuntu1.1                     Readline interface for Ruby 1.8
ii  libruby1.8                                                    1.8.6.111-2ubuntu1.1                     Libraries necessary to run Ruby 1.8
ii  rake                                                          0.8.1-3                                  a ruby build program
ii  ruby                                                          4.1                                      An interpreter of object-oriented scripting 
ii  ruby1.8                                                       1.8.6.111-2ubuntu1.1                     Interpreter of object-oriented scripting lan
ii  rubygems                                                      1.1.1-1~hardy1                           package management framework for Ruby librar</description>
		<content:encoded><![CDATA[<p>btw, here are all my ruby packages. maybe i use old version of something?<br />
dpkg -l | grep ruby<br />
ii  libgems-ruby1.8                                               1.1.1-1~hardy1                           libraries to use RubyGems, a package managem<br />
ii  libopenssl-ruby1.8                                            1.8.6.111-2ubuntu1.1                     OpenSSL interface for Ruby 1.8<br />
ii  libreadline-ruby1.8                                           1.8.6.111-2ubuntu1.1                     Readline interface for Ruby 1.8<br />
ii  libruby1.8                                                    1.8.6.111-2ubuntu1.1                     Libraries necessary to run Ruby 1.8<br />
ii  rake                                                          0.8.1-3                                  a ruby build program<br />
ii  ruby                                                          4.1                                      An interpreter of object-oriented scripting<br />
ii  ruby1.8                                                       1.8.6.111-2ubuntu1.1                     Interpreter of object-oriented scripting lan<br />
ii  rubygems                                                      1.1.1-1~hardy1                           package management framework for Ruby librar</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by oren</title>
		<link>http://scottmotte.com/archives/391#comment-301</link>
		<dc:creator>oren</dc:creator>
		<pubDate>Sat, 13 Sep 2008 17:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-301</guid>
		<description>(i had to install irb with aptitude since i got error when trying to run it)

irb(main):001:0&#62; require ‘rubygems’
ArgumentError: wrong number of arguments (0 for 1)
        from (irb):1:in `require'
        from (irb):1
irb(main):001:0&#62; require ‘thor’
ArgumentError: wrong number of arguments (0 for 1)
        from (irb):1:in `require'
        from (irb):1</description>
		<content:encoded><![CDATA[<p>(i had to install irb with aptitude since i got error when trying to run it)</p>
<p>irb(main):001:0&gt; require ‘rubygems’<br />
ArgumentError: wrong number of arguments (0 for 1)<br />
        from (irb):1:in `require&#8217;<br />
        from (irb):1<br />
irb(main):001:0&gt; require ‘thor’<br />
ArgumentError: wrong number of arguments (0 for 1)<br />
        from (irb):1:in `require&#8217;<br />
        from (irb):1</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to setup TinyMCE for Ruby on Rails by renuka</title>
		<link>http://scottmotte.com/archives/65#comment-299</link>
		<dc:creator>renuka</dc:creator>
		<pubDate>Sat, 13 Sep 2008 08:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=65#comment-299</guid>
		<description>Hi,

I want to use tinymce but i have one problem like in my page there are so many textarea and i want to use tinymce for 2 textarea only so can you say me hows that possible?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I want to use tinymce but i have one problem like in my page there are so many textarea and i want to use tinymce for 2 textarea only so can you say me hows that possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by scott</title>
		<link>http://scottmotte.com/archives/391#comment-298</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sat, 13 Sep 2008 08:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-298</guid>
		<description>Oren. I'm not really sure, but it sounds like a deeper issue either with your server setup or your gems. This is my best guess given that you were getting a 'command not found' error on sake as well.

Type this from your bash:
irb

# then once in the irb prompt type this:
require 'rubygems'
require 'thor'

# it should return true (=&gt; true) for both. exit irb with 'exit'

Then, maybe try updating your rubygems:
sudo gem update
sudo gem update --system

Then try running just plain "sudo thor" and see if you get a response.</description>
		<content:encoded><![CDATA[<p>Oren. I&#8217;m not really sure, but it sounds like a deeper issue either with your server setup or your gems. This is my best guess given that you were getting a &#8216;command not found&#8217; error on sake as well.</p>
<p>Type this from your bash:<br />
irb</p>
<p># then once in the irb prompt type this:<br />
require &#8216;rubygems&#8217;<br />
require &#8216;thor&#8217;</p>
<p># it should return true (=> true) for both. exit irb with &#8216;exit&#8217;</p>
<p>Then, maybe try updating your rubygems:<br />
sudo gem update<br />
sudo gem update &#8211;system</p>
<p>Then try running just plain &#8220;sudo thor&#8221; and see if you get a response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by oren</title>
		<link>http://scottmotte.com/archives/391#comment-297</link>
		<dc:creator>oren</dc:creator>
		<pubDate>Sat, 13 Sep 2008 08:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-297</guid>
		<description>Thanks for your patience and guidance Scott.

two issues: 
1. i didn't have rake so I got it with aptitude.

2. when i type:
thor install http://github.com/jackdempsey/merb-thor/tree/master%2Fmerb.thor?raw=true --as=merb

I get:
bash: thor: command not found

(and I have thor 0.9.6)</description>
		<content:encoded><![CDATA[<p>Thanks for your patience and guidance Scott.</p>
<p>two issues:<br />
1. i didn&#8217;t have rake so I got it with aptitude.</p>
<p>2. when i type:<br />
thor install <a href="http://github.com/jackdempsey/merb-thor/tree/master%2Fmerb.thor?raw=true" rel="nofollow">http://github.com/jackdempsey/merb-thor/tree/master%2Fmerb.thor?raw=true</a> &#8211;as=merb</p>
<p>I get:<br />
bash: thor: command not found</p>
<p>(and I have thor 0.9.6)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by Scott</title>
		<link>http://scottmotte.com/archives/391#comment-290</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 12 Sep 2008 20:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-290</guid>
		<description>@Oren. I had a problem with sake on ubuntu as well - though it was a different error. Instead I used thor and it worked nicely. Give it a shot. I've updated the tutorial accordingly. Good luck.</description>
		<content:encoded><![CDATA[<p>@Oren. I had a problem with sake on ubuntu as well - though it was a different error. Instead I used thor and it worked nicely. Give it a shot. I&#8217;ve updated the tutorial accordingly. Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by Scott Motte &#187; Blog Archive &#187; Merb and Chronic: Natural Language Date Parsing</title>
		<link>http://scottmotte.com/archives/391#comment-288</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; Merb and Chronic: Natural Language Date Parsing</dc:creator>
		<pubDate>Fri, 12 Sep 2008 04:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-288</guid>
		<description>[...] assumes you&#8217;ve already got started with merb, and that you are using datamapper as your [...]</description>
		<content:encoded><![CDATA[<p>[...] assumes you&#8217;ve already got started with merb, and that you are using datamapper as your [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by oren</title>
		<link>http://scottmotte.com/archives/391#comment-286</link>
		<dc:creator>oren</dc:creator>
		<pubDate>Thu, 11 Sep 2008 06:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-286</guid>
		<description>when i type:
sudo sake -i http://github.com/wycats/merb-more/tree/master%2Ftools%2Fmerb-dev.rake?raw=true

i get this:
sudo: sake: command not found

when i do gem list it looks like sake is installed:
sake (1.0.15)

I have ubuntu 8.04 and I sake never works on my machine.
any idea?</description>
		<content:encoded><![CDATA[<p>when i type:<br />
sudo sake -i <a href="http://github.com/wycats/merb-more/tree/master%2Ftools%2Fmerb-dev.rake?raw=true" rel="nofollow">http://github.com/wycats/merb-more/tree/master%2Ftools%2Fmerb-dev.rake?raw=true</a></p>
<p>i get this:<br />
sudo: sake: command not found</p>
<p>when i do gem list it looks like sake is installed:<br />
sake (1.0.15)</p>
<p>I have ubuntu 8.04 and I sake never works on my machine.<br />
any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by A Fresh Cup &#187; Blog Archive &#187; Double Shot #288</title>
		<link>http://scottmotte.com/archives/391#comment-285</link>
		<dc:creator>A Fresh Cup &#187; Blog Archive &#187; Double Shot #288</dc:creator>
		<pubDate>Wed, 10 Sep 2008 11:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-285</guid>
		<description>[...] Merb Beginner&#8217;s Tutorial - Notes on how to instal the latest edge bits. [...]</description>
		<content:encoded><![CDATA[<p>[...] Merb Beginner&#8217;s Tutorial - Notes on how to instal the latest edge bits. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting sqlite3 to work on Tiger with Rails 2.1.0 by Mark Dodwell</title>
		<link>http://scottmotte.com/archives/77#comment-284</link>
		<dc:creator>Mark Dodwell</dc:creator>
		<pubDate>Wed, 10 Sep 2008 07:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=77#comment-284</guid>
		<description>I accidentally installed a version of sqlite *over* the top of my system's one. I'm on OS X 10.4 and it has pretty much broken most of the applications (I think they all use CoreData which uses some of the sqlite libs). Does anybody have any ideas for how I can restore the original version without a complete reinstall of the OS?

I believe that the OS X 10.4 version comes with a patched version of sqlite 3.1.3. Perhaps I could obtain that from somewhere? I have hunted high and low on the Internet with no luck.

Any ideas welcome!!</description>
		<content:encoded><![CDATA[<p>I accidentally installed a version of sqlite *over* the top of my system&#8217;s one. I&#8217;m on OS X 10.4 and it has pretty much broken most of the applications (I think they all use CoreData which uses some of the sqlite libs). Does anybody have any ideas for how I can restore the original version without a complete reinstall of the OS?</p>
<p>I believe that the OS X 10.4 version comes with a patched version of sqlite 3.1.3. Perhaps I could obtain that from somewhere? I have hunted high and low on the Internet with no luck.</p>
<p>Any ideas welcome!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Merb Beginner&#8217;s Tutorial by Stephane</title>
		<link>http://scottmotte.com/archives/391#comment-283</link>
		<dc:creator>Stephane</dc:creator>
		<pubDate>Tue, 09 Sep 2008 21:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=391#comment-283</guid>
		<description>Useful write and update of slapp</description>
		<content:encoded><![CDATA[<p>Useful write and update of slapp</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Uploading multiple images with paperclip by Andrew Herbert</title>
		<link>http://scottmotte.com/archives/321#comment-258</link>
		<dc:creator>Andrew Herbert</dc:creator>
		<pubDate>Mon, 01 Sep 2008 06:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=321#comment-258</guid>
		<description>Ignore those last two posts, I figured out the solution.  Following recipe 13 now.  Thanks.</description>
		<content:encoded><![CDATA[<p>Ignore those last two posts, I figured out the solution.  Following recipe 13 now.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Uploading multiple images with paperclip by Andrew Herbert</title>
		<link>http://scottmotte.com/archives/321#comment-257</link>
		<dc:creator>Andrew Herbert</dc:creator>
		<pubDate>Mon, 01 Sep 2008 05:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=321#comment-257</guid>
		<description>In my last post, it stripped out the text inside the gt and lt.

The error message should read 
@admin#&#60;Photo:0x26c9470&#62; is not allowed as an instance variable name</description>
		<content:encoded><![CDATA[<p>In my last post, it stripped out the text inside the gt and lt.</p>
<p>The error message should read<br />
@admin#&lt;Photo:0&#215;26c9470&gt; is not allowed as an instance variable name</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Uploading multiple images with paperclip by Andrew Herbert</title>
		<link>http://scottmotte.com/archives/321#comment-256</link>
		<dc:creator>Andrew Herbert</dc:creator>
		<pubDate>Mon, 01 Sep 2008 04:59:27 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=321#comment-256</guid>
		<description>Great tutorial so far, but I'm getting one error when I try to edit a photo (before adding the photo to the products model).  Any ideas on why this is popping up?  Also, the label line is commented out because it was also throwing an error...

`@admin#' is not allowed as an instance variable name
Extracted source (around line #5):

2:  
3: 
4: 	
5: 	
6: </description>
		<content:encoded><![CDATA[<p>Great tutorial so far, but I&#8217;m getting one error when I try to edit a photo (before adding the photo to the products model).  Any ideas on why this is popping up?  Also, the label line is commented out because it was also throwing an error&#8230;</p>
<p>`@admin#&#8217; is not allowed as an instance variable name<br />
Extracted source (around line #5):</p>
<p>2:<br />
3:<br />
4:<br />
5:<br />
6:</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on exception_notification plugin install by Scott</title>
		<link>http://scottmotte.com/archives/74#comment-253</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 31 Aug 2008 05:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=74#comment-253</guid>
		<description>Add something like this to the bottom of your environment.rb file:

ExceptionNotifier.sender_address = %("Exception Notifier" ) 
ExceptionNotifier.exception_recipients = %w(scott@scottmotte.com) 
# defaults to "[ERROR] "  
ExceptionNotifier.email_prefix = "[Twinstang ERROR] "</description>
		<content:encoded><![CDATA[<p>Add something like this to the bottom of your environment.rb file:</p>
<p>ExceptionNotifier.sender_address = %(&#8221;Exception Notifier&#8221; )<br />
ExceptionNotifier.exception_recipients = %w(scott@scottmotte.com)<br />
# defaults to &#8220;[ERROR] &#8221;<br />
ExceptionNotifier.email_prefix = &#8220;[Twinstang ERROR] &#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to do date, datefields, datetime like 30boxes by Scott</title>
		<link>http://scottmotte.com/archives/10#comment-243</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Wed, 27 Aug 2008 07:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=10#comment-243</guid>
		<description>http://pastie.org/260758</description>
		<content:encoded><![CDATA[<p><a href="http://pastie.org/260758" rel="nofollow">http://pastie.org/260758</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to do date, datefields, datetime like 30boxes by Scott Motte</title>
		<link>http://scottmotte.com/archives/10#comment-242</link>
		<dc:creator>Scott Motte</dc:creator>
		<pubDate>Wed, 27 Aug 2008 07:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=10#comment-242</guid>
		<description>require 'chronic'
class Service &#60; ActiveRecord::Base
  belongs_to :location
  belongs_to :obituary
  validates_presence_of :name
  
  def before_save
    self.start_time = Chronic.parse(self.start_time_before_type_cast) if self.start_time_before_type_cast
    self.end_time = Chronic.parse(self.end_time_before_type_cast) if self.end_time_before_type_cast
  end

  
  
  protected 
    def validate 
      errors.add(:location_id, "can't be blank") if location_id.blank?
      errors.add :start_time, 'is not a valid date. Try removing any commas.' if Chronic.parse(start_time_before_type_cast).nil?
    end
end</description>
		<content:encoded><![CDATA[<p>require &#8216;chronic&#8217;<br />
class Service &lt; ActiveRecord::Base<br />
  belongs_to :location<br />
  belongs_to :obituary<br />
  validates_presence_of :name</p>
<p>  def before_save<br />
    self.start_time = Chronic.parse(self.start_time_before_type_cast) if self.start_time_before_type_cast<br />
    self.end_time = Chronic.parse(self.end_time_before_type_cast) if self.end_time_before_type_cast<br />
  end</p>
<p>  protected<br />
    def validate<br />
      errors.add(:location_id, &#8220;can&#8217;t be blank&#8221;) if location_id.blank?<br />
      errors.add :start_time, &#8216;is not a valid date. Try removing any commas.&#8217; if Chronic.parse(start_time_before_type_cast).nil?<br />
    end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying your rails app on slicehost with git (github), nginx virtual host, and thin by Scott</title>
		<link>http://scottmotte.com/archives/94#comment-227</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 23 Aug 2008 23:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=94#comment-227</guid>
		<description>http://articles.slicehost.com/2008/7/10/mysql-creating-and-editing-users   use that to create the users - instead of using the root user.</description>
		<content:encoded><![CDATA[<p><a href="http://articles.slicehost.com/2008/7/10/mysql-creating-and-editing-users" rel="nofollow">http://articles.slicehost.com/2008/7/10/mysql-creating-and-editing-users</a>   use that to create the users - instead of using the root user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using paperclip for image attachments in rails by Scott</title>
		<link>http://scottmotte.com/archives/122#comment-223</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 23 Aug 2008 03:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=122#comment-223</guid>
		<description>should be http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/#comment-363</description>
		<content:encoded><![CDATA[<p>should be <a href="http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/#comment-363" rel="nofollow">http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/#comment-363</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using paperclip for image attachments in rails by Scott</title>
		<link>http://scottmotte.com/archives/122#comment-222</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 23 Aug 2008 02:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=122#comment-222</guid>
		<description>Update: Dealing w/ PDFs instead of images. Speeding up paperclip when this happens. http://devblog.rorcraft.com/2008/8/1/patching-paperclip-to-only-thumbnail-images</description>
		<content:encoded><![CDATA[<p>Update: Dealing w/ PDFs instead of images. Speeding up paperclip when this happens. <a href="http://devblog.rorcraft.com/2008/8/1/patching-paperclip-to-only-thumbnail-images" rel="nofollow">http://devblog.rorcraft.com/2008/8/1/patching-paperclip-to-only-thumbnail-images</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using paperclip for image attachments in rails by Scott</title>
		<link>http://scottmotte.com/archives/122#comment-221</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 23 Aug 2008 02:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=122#comment-221</guid>
		<description>Here's how to use multiple images. http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/#comment-378</description>
		<content:encoded><![CDATA[<p>Here&#8217;s how to use multiple images. <a href="http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/#comment-378" rel="nofollow">http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/#comment-378</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automate mysql backup with amazon s3 by scott</title>
		<link>http://scottmotte.com/archives/117#comment-213</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 20 Aug 2008 04:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=117#comment-213</guid>
		<description>Doing this just seriously saved my butt.</description>
		<content:encoded><![CDATA[<p>Doing this just seriously saved my butt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Email validation/activation with rails by Scott Motte &#187; Blog Archive &#187; UPDATED: Email validation/activation with rails, restful_authentication, and gmail smtp</title>
		<link>http://scottmotte.com/archives/21#comment-211</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; UPDATED: Email validation/activation with rails, restful_authentication, and gmail smtp</dc:creator>
		<pubDate>Tue, 19 Aug 2008 04:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=21#comment-211</guid>
		<description>[...] is updated from my old post on the subject. It&#8217;s a process cheat sheet for [...]</description>
		<content:encoded><![CDATA[<p>[...] is updated from my old post on the subject. It&#8217;s a process cheat sheet for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WP-Syntax by Scott</title>
		<link>http://scottmotte.com/archives/263#comment-208</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 17 Aug 2008 18:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=263#comment-208</guid>
		<description>=)</description>
		<content:encoded><![CDATA[<p>=)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WP-Syntax by Scott</title>
		<link>http://scottmotte.com/archives/263#comment-207</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 17 Aug 2008 18:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=263#comment-207</guid>
		<description>Well, by golly, it worked. That's good. What a relief.</description>
		<content:encoded><![CDATA[<p>Well, by golly, it worked. That&#8217;s good. What a relief.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WP-Syntax by iPhone scott</title>
		<link>http://scottmotte.com/archives/263#comment-206</link>
		<dc:creator>iPhone scott</dc:creator>
		<pubDate>Sun, 17 Aug 2008 18:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=263#comment-206</guid>
		<description>let me try from a different "computer"</description>
		<content:encoded><![CDATA[<p>let me try from a different &#8220;computer&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WP-Syntax by scott</title>
		<link>http://scottmotte.com/archives/263#comment-205</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sun, 17 Aug 2008 18:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=263#comment-205</guid>
		<description>Well myself. Let's see if it worked.</description>
		<content:encoded><![CDATA[<p>Well myself. Let&#8217;s see if it worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WP-Syntax by Scott</title>
		<link>http://scottmotte.com/archives/263#comment-204</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 17 Aug 2008 18:51:17 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=263#comment-204</guid>
		<description>This is a test. Testing the new followup comments via e-mail plugin.</description>
		<content:encoded><![CDATA[<p>This is a test. Testing the new followup comments via e-mail plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Launching your rails app with passenger on slicehost by scott</title>
		<link>http://scottmotte.com/archives/145#comment-201</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Fri, 15 Aug 2008 22:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=145#comment-201</guid>
		<description>Slicehost has great instructions too: http://articles.slicehost.com/2008/5/1/ubuntu-hardy-mod_rails-installation</description>
		<content:encoded><![CDATA[<p>Slicehost has great instructions too: <a href="http://articles.slicehost.com/2008/5/1/ubuntu-hardy-mod_rails-installation" rel="nofollow">http://articles.slicehost.com/2008/5/1/ubuntu-hardy-mod_rails-installation</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to setup wysiwyg editing for rails - yui_editor by Scott Motte &#187; Blog Archive &#187; How to setup TinyMCE for Ruby on Rails</title>
		<link>http://scottmotte.com/archives/196#comment-198</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; How to setup TinyMCE for Ruby on Rails</dc:creator>
		<pubDate>Fri, 15 Aug 2008 00:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=196#comment-198</guid>
		<description>[...] see new post on how to setup yui_editor [...]</description>
		<content:encoded><![CDATA[<p>[...] see new post on how to setup yui_editor [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to setup TinyMCE for Ruby on Rails by Scott Motte &#187; Blog Archive &#187; How to setup wysiwyg editing for rails</title>
		<link>http://scottmotte.com/archives/65#comment-197</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; How to setup wysiwyg editing for rails</dc:creator>
		<pubDate>Fri, 15 Aug 2008 00:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=65#comment-197</guid>
		<description>[...] I was using tinymce on my rails app along with the plugin. I&#8217;ve since moved to using the yui_editor through larslevan&#8217;s [...]</description>
		<content:encoded><![CDATA[<p>[...] I was using tinymce on my rails app along with the plugin. I&#8217;ve since moved to using the yui_editor through larslevan&#8217;s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up slicehost by scott</title>
		<link>http://scottmotte.com/archives/85#comment-196</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 14 Aug 2008 03:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=85#comment-196</guid>
		<description>UPDATE

Start here: http://articles.slicehost.com/2008/4/25/ubuntu-hardy-setup-page-1</description>
		<content:encoded><![CDATA[<p>UPDATE</p>
<p>Start here: <a href="http://articles.slicehost.com/2008/4/25/ubuntu-hardy-setup-page-1" rel="nofollow">http://articles.slicehost.com/2008/4/25/ubuntu-hardy-setup-page-1</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Passenger (mod_rails) versus Thin on nginx by scott</title>
		<link>http://scottmotte.com/archives/126#comment-195</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Tue, 05 Aug 2008 19:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=126#comment-195</guid>
		<description>Hi Dinooz,

When testing it out myself, I didn't see much of an uptick for a rarely visited site (like 20mb). 

You can try for yourself, and see what you come up with. Here's a tutorial: http://scottmotte.com/archives/145

I would recommends it for lightly visited sites for clients and things. I believe Ben Hughes and/or a commentor agrees on this at: http://www.railsgarden.com/2008/04/12/configurating-passenger-mod_rails-on-slicehost-with-ubuntu-710/</description>
		<content:encoded><![CDATA[<p>Hi Dinooz,</p>
<p>When testing it out myself, I didn&#8217;t see much of an uptick for a rarely visited site (like 20mb). </p>
<p>You can try for yourself, and see what you come up with. Here&#8217;s a tutorial: <a href="http://scottmotte.com/archives/145" rel="nofollow">http://scottmotte.com/archives/145</a></p>
<p>I would recommends it for lightly visited sites for clients and things. I believe Ben Hughes and/or a commentor agrees on this at: <a href="http://www.railsgarden.com/2008/04/12/configurating-passenger-mod_rails-on-slicehost-with-ubuntu-710/" rel="nofollow">http://www.railsgarden.com/2008/04/12/configurating-passenger-mod_rails-on-slicehost-with-ubuntu-710/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Passenger (mod_rails) versus Thin on nginx by Dinooz</title>
		<link>http://scottmotte.com/archives/126#comment-194</link>
		<dc:creator>Dinooz</dc:creator>
		<pubDate>Tue, 05 Aug 2008 19:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=126#comment-194</guid>
		<description>What about the memory usage in the server, would it be possible to see the impact also ???</description>
		<content:encoded><![CDATA[<p>What about the memory usage in the server, would it be possible to see the impact also ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using google charts api with rails (googlechart gem) by scott</title>
		<link>http://scottmotte.com/archives/130#comment-186</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 31 Jul 2008 23:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=130#comment-186</guid>
		<description>Thank you very much Robert. I appreciate that. That did the trick.</description>
		<content:encoded><![CDATA[<p>Thank you very much Robert. I appreciate that. That did the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using google charts api with rails (googlechart gem) by Robert Wahler</title>
		<link>http://scottmotte.com/archives/130#comment-185</link>
		<dc:creator>Robert Wahler</dc:creator>
		<pubDate>Thu, 31 Jul 2008 19:22:23 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=130#comment-185</guid>
		<description>This worked for me...

config.gem "googlecharts", :version =&#62; '1.3.4', :lib =&#62; 'gchart', :source =&#62; 'http://gems.github.com/'</description>
		<content:encoded><![CDATA[<p>This worked for me&#8230;</p>
<p>config.gem &#8220;googlecharts&#8221;, :version =&gt; &#8216;1.3.4&#8242;, :lib =&gt; &#8216;gchart&#8217;, :source =&gt; &#8216;http://gems.github.com/&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Ruby on Windows and Setting up Watir on Windows by scott</title>
		<link>http://scottmotte.com/archives/114#comment-175</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Mon, 21 Jul 2008 03:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=114#comment-175</guid>
		<description>I used InstantRails. I'm pretty sure it was Rails 2.1.</description>
		<content:encoded><![CDATA[<p>I used InstantRails. I&#8217;m pretty sure it was Rails 2.1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on gravatar for rails app by Scott Motte</title>
		<link>http://scottmotte.com/archives/99#comment-174</link>
		<dc:creator>Scott Motte</dc:creator>
		<pubDate>Mon, 21 Jul 2008 02:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=99#comment-174</guid>
		<description>Update: The rails cookbook solution just isn't that great. You can't specify a default.

&lt;a href="http://douglasfshearer.com/blog/gravatar-for-ruby-and-ruby-on-rails" rel="nofollow"&gt;Much better solution&lt;/a&gt;


module GravatarHelper
  # Returns a Gravatar URL associated with the email parameter.
  def gravatar_url(email,gravatar_options={})

    # Default highest rating.
    # Rating can be one of G, PG, R X.
    # If set to nil, the Gravatar default of X will be used.
    gravatar_options[:rating] &#124;&#124;= nil

    # Default size of the image.
    # If set to nil, the Gravatar default size of 80px will be used.
    gravatar_options[:size] &#124;&#124;= nil 

    # Default image url to be used when no gravatar is found
    # or when an image exceeds the rating parameter.
    gravatar_options[:default] &#124;&#124;= 'http://localhost:3000/images/gravatar-80.png'

    # Build the Gravatar url.
    grav_url = 'http://www.gravatar.com/avatar.php?'
    grav_url &#60;&#60; "gravatar_id=#{Digest::MD5.new.update(email)}" 
    grav_url &#60;&#60; "&#38;rating=#{gravatar_options[:rating]}" if gravatar_options[:rating]
    grav_url &#60;&#60; "&#38;size=#{gravatar_options[:size]}" if gravatar_options[:size]
    grav_url &#60;&#60; "&#38;default=#{gravatar_options[:default]}" if gravatar_options[:default]
    return grav_url
  end
  
end</description>
		<content:encoded><![CDATA[<p>Update: The rails cookbook solution just isn&#8217;t that great. You can&#8217;t specify a default.</p>
<p><a href="http://douglasfshearer.com/blog/gravatar-for-ruby-and-ruby-on-rails" rel="nofollow">Much better solution</a></p>
<p>module GravatarHelper<br />
  # Returns a Gravatar URL associated with the email parameter.<br />
  def gravatar_url(email,gravatar_options={})</p>
<p>    # Default highest rating.<br />
    # Rating can be one of G, PG, R X.<br />
    # If set to nil, the Gravatar default of X will be used.<br />
    gravatar_options[:rating] ||= nil</p>
<p>    # Default size of the image.<br />
    # If set to nil, the Gravatar default size of 80px will be used.<br />
    gravatar_options[:size] ||= nil </p>
<p>    # Default image url to be used when no gravatar is found<br />
    # or when an image exceeds the rating parameter.<br />
    gravatar_options[:default] ||= &#8216;http://localhost:3000/images/gravatar-80.png&#8217;</p>
<p>    # Build the Gravatar url.<br />
    grav_url = &#8216;http://www.gravatar.com/avatar.php?&#8217;<br />
    grav_url &lt;&lt; &#8220;gravatar_id=#{Digest::MD5.new.update(email)}&#8221;<br />
    grav_url &lt;&lt; &#8220;&amp;rating=#{gravatar_options[:rating]}&#8221; if gravatar_options[:rating]<br />
    grav_url &lt;&lt; &#8220;&amp;size=#{gravatar_options[:size]}&#8221; if gravatar_options[:size]<br />
    grav_url &lt;&lt; &#8220;&amp;default=#{gravatar_options[:default]}&#8221; if gravatar_options[:default]<br />
    return grav_url<br />
  end</p>
<p>end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Ruby on Windows and Setting up Watir on Windows by Frank Beard</title>
		<link>http://scottmotte.com/archives/114#comment-173</link>
		<dc:creator>Frank Beard</dc:creator>
		<pubDate>Mon, 21 Jul 2008 01:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=114#comment-173</guid>
		<description>How did you install Rails in Windows?  InstantRails, RailsStack, manually???   Did you get Rails 2.1.0 installed or an older version?

Thank you, again, for your insights.</description>
		<content:encoded><![CDATA[<p>How did you install Rails in Windows?  InstantRails, RailsStack, manually???   Did you get Rails 2.1.0 installed or an older version?</p>
<p>Thank you, again, for your insights.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Ruby on Windows and Setting up Watir on Windows by Scott Motte</title>
		<link>http://scottmotte.com/archives/114#comment-172</link>
		<dc:creator>Scott Motte</dc:creator>
		<pubDate>Sun, 20 Jul 2008 05:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=114#comment-172</guid>
		<description>hmm. It could be a few things, but my first guess is it might be cygwin. I had a lot of problems with it. I didn't mention it in the post, but I actually ended up uninstalling it and just learning how to use the windows dos commands.

Your script worked great.

Here's what I used adapted from your script on my mac.

require 'rubygems'
require 'safariwatir' # use watir gem

test_site = 'http://www.google.com' # set a variable
ie = Watir::Safari.new # open the IE browser
ie.goto(test_site) # load url, go to site
ie.text_field(:name, "q").set("pickaxe") # load text "pickaxe" into search field named "q"
ie.button(:name, "btnG").click # "btnG" is the name of the Search button, click it

if ie.text.include?("Programming Ruby")
  puts "Test Passed. Found the test string: 'Programming Ruby'."
else
  puts "Test Failed! Could not find: 'Programming Ruby'"
end</description>
		<content:encoded><![CDATA[<p>hmm. It could be a few things, but my first guess is it might be cygwin. I had a lot of problems with it. I didn&#8217;t mention it in the post, but I actually ended up uninstalling it and just learning how to use the windows dos commands.</p>
<p>Your script worked great.</p>
<p>Here&#8217;s what I used adapted from your script on my mac.</p>
<p>require &#8216;rubygems&#8217;<br />
require &#8217;safariwatir&#8217; # use watir gem</p>
<p>test_site = &#8216;http://www.google.com&#8217; # set a variable<br />
ie = Watir::Safari.new # open the IE browser<br />
ie.goto(test_site) # load url, go to site<br />
ie.text_field(:name, &#8220;q&#8221;).set(&#8221;pickaxe&#8221;) # load text &#8220;pickaxe&#8221; into search field named &#8220;q&#8221;<br />
ie.button(:name, &#8220;btnG&#8221;).click # &#8220;btnG&#8221; is the name of the Search button, click it</p>
<p>if ie.text.include?(&#8221;Programming Ruby&#8221;)<br />
  puts &#8220;Test Passed. Found the test string: &#8216;Programming Ruby&#8217;.&#8221;<br />
else<br />
  puts &#8220;Test Failed! Could not find: &#8216;Programming Ruby&#8217;&#8221;<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Ruby on Windows and Setting up Watir on Windows by Frank Beard</title>
		<link>http://scottmotte.com/archives/114#comment-171</link>
		<dc:creator>Frank Beard</dc:creator>
		<pubDate>Sat, 19 Jul 2008 03:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=114#comment-171</guid>
		<description>Scott,

Thank you for the mind dump.

It was all good until I tried to test watir.

I ran the following script....

 # Here we see a very simple WATIR script to drive to google  (testgoogle.rb) and validate a page

 require 'rubygems'
 require 'watir'                          # use watir gem
 test_site = 'http://www.google.com'      # set a variable
 ie = Watir::IE.new                       # open the IE browser
 ie.goto(test_site)                       # load url, go to site
 ie.text_field(:name, "q").set("pickaxe") # load text "pickaxe" into search field named "q"
 ie.button(:name, "btnG").click           # "btnG" is the name of the Search button, click it
 
 if ie.text.include?("Programming Ruby")  
   puts "Test Passed. Found the test string: 'Programming Ruby'."
 else
   puts "Test Failed! Could not find: 'Programming Ruby'" 
 end


... and got this error:

$ ruby testgoogle.rb

/usr/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/win32.rb:9:in `initialize': LoadLibrary: \usr\lib\ruby\gems\1.8\gems\wat
ir-1.5.6\watir\IEDialog\Release\IEDialog.dll (RuntimeError)
        from /usr/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/win32.rb:9:in `new'
        from /usr/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/win32.rb:9
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir.rb:85
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
        from testw.rb:2


Any ideas on how to fix that?

Thanks!

Frank</description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>Thank you for the mind dump.</p>
<p>It was all good until I tried to test watir.</p>
<p>I ran the following script&#8230;.</p>
<p> # Here we see a very simple WATIR script to drive to google  (testgoogle.rb) and validate a page</p>
<p> require &#8216;rubygems&#8217;<br />
 require &#8216;watir&#8217;                          # use watir gem<br />
 test_site = &#8216;http://www.google.com&#8217;      # set a variable<br />
 ie = Watir::IE.new                       # open the IE browser<br />
 ie.goto(test_site)                       # load url, go to site<br />
 ie.text_field(:name, &#8220;q&#8221;).set(&#8221;pickaxe&#8221;) # load text &#8220;pickaxe&#8221; into search field named &#8220;q&#8221;<br />
 ie.button(:name, &#8220;btnG&#8221;).click           # &#8220;btnG&#8221; is the name of the Search button, click it</p>
<p> if ie.text.include?(&#8221;Programming Ruby&#8221;)<br />
   puts &#8220;Test Passed. Found the test string: &#8216;Programming Ruby&#8217;.&#8221;<br />
 else<br />
   puts &#8220;Test Failed! Could not find: &#8216;Programming Ruby&#8217;&#8221;<br />
 end</p>
<p>&#8230; and got this error:</p>
<p>$ ruby testgoogle.rb</p>
<p>/usr/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/win32.rb:9:in `initialize&#8217;: LoadLibrary: \usr\lib\ruby\gems\1.8\gems\wat<br />
ir-1.5.6\watir\IEDialog\Release\IEDialog.dll (RuntimeError)<br />
        from /usr/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/win32.rb:9:in `new&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/win32.rb:9<br />
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;<br />
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir.rb:85<br />
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require&#8217;<br />
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require&#8217;<br />
        from testw.rb:2</p>
<p>Any ideas on how to fix that?</p>
<p>Thanks!</p>
<p>Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrubyt perks and rules by Harry</title>
		<link>http://scottmotte.com/archives/113#comment-167</link>
		<dc:creator>Harry</dc:creator>
		<pubDate>Wed, 16 Jul 2008 04:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=113#comment-167</guid>
		<description>OH, I think this is the real reason that I have'nt been successfully scraped any site with tb.tbody thing.</description>
		<content:encoded><![CDATA[<p>OH, I think this is the real reason that I have&#8217;nt been successfully scraped any site with tb.tbody thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting sqlite3 to work on Tiger with Rails 2.1.0 by joel</title>
		<link>http://scottmotte.com/archives/77#comment-165</link>
		<dc:creator>joel</dc:creator>
		<pubDate>Thu, 10 Jul 2008 06:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=77#comment-165</guid>
		<description>Thanks alot, I kept looking for a binary install, but as always, its just easier to compile. DOH!!!</description>
		<content:encoded><![CDATA[<p>Thanks alot, I kept looking for a binary install, but as always, its just easier to compile. DOH!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Archive by Scott Motte &#187; Blog Archive &#187; Useful scripts with mechanize and hpricot</title>
		<link>http://scottmotte.com/archive#comment-159</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; Useful scripts with mechanize and hpricot</dc:creator>
		<pubDate>Sun, 06 Jul 2008 18:10:35 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?page_id=103#comment-159</guid>
		<description>[...] Posted in Solutions [...]</description>
		<content:encoded><![CDATA[<p>[...] Posted in Solutions [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting sqlite3 to work on Tiger with Rails 2.1.0 by scott</title>
		<link>http://scottmotte.com/archives/77#comment-158</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sat, 05 Jul 2008 18:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=77#comment-158</guid>
		<description>Hi Ian. I'm not sure what could still be the problem. I've never dealt with OS X Server.

Did you first uninstall the sqlite3-ruby gem via sudo gem uninstall sqlite3-ruby?

Then after doing the curl, and make, and sudo make, did you then reinstall the sqlite3-ruby gem by doing sudo gem install sqlite3?

What happens when you type ****sqlite3**** into your terminal?</description>
		<content:encoded><![CDATA[<p>Hi Ian. I&#8217;m not sure what could still be the problem. I&#8217;ve never dealt with OS X Server.</p>
<p>Did you first uninstall the sqlite3-ruby gem via sudo gem uninstall sqlite3-ruby?</p>
<p>Then after doing the curl, and make, and sudo make, did you then reinstall the sqlite3-ruby gem by doing sudo gem install sqlite3?</p>
<p>What happens when you type ****sqlite3**** into your terminal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrubyt screen scraping tutorials by scott</title>
		<link>http://scottmotte.com/archives/112#comment-157</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sat, 05 Jul 2008 18:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=112#comment-157</guid>
		<description>Thanks for the reply Peter and thanks for the link to the trac. All the examples on there are very very helpful. 

For anyone interested here's the link: https://code.adelao.it/trac/scrubyt/browser/trunk/examples?rev=2

(go ahead and trust the ssl certificate. I think it's just self assigned)

Best of luck with your startup.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply Peter and thanks for the link to the trac. All the examples on there are very very helpful. </p>
<p>For anyone interested here&#8217;s the link: <a href="https://code.adelao.it/trac/scrubyt/browser/trunk/examples?rev=2" rel="nofollow">https://code.adelao.it/trac/scrubyt/browser/trunk/examples?rev=2</a></p>
<p>(go ahead and trust the ssl certificate. I think it&#8217;s just self assigned)</p>
<p>Best of luck with your startup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting sqlite3 to work on Tiger with Rails 2.1.0 by Ian Piper</title>
		<link>http://scottmotte.com/archives/77#comment-154</link>
		<dc:creator>Ian Piper</dc:creator>
		<pubDate>Sat, 05 Jul 2008 10:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=77#comment-154</guid>
		<description>Thanks for the notes on this. I have also been having real problems in this area. I installed the whole ruby-gem-rails toolset and don't seem to be able to get sqlite3 going. I installed v3.5.9 of sqlite3-ruby but still get this kind of message when doing a migration:

morse:/Users/Shared/software/addressbook rubyrails$ rake db:migrate
(in /Users/Shared/software/addressbook)
rake aborted!
no such file to load -- sqlite3/database

This is on a Mac OS X Server box btw. I think I may have to resort to MySQL.</description>
		<content:encoded><![CDATA[<p>Thanks for the notes on this. I have also been having real problems in this area. I installed the whole ruby-gem-rails toolset and don&#8217;t seem to be able to get sqlite3 going. I installed v3.5.9 of sqlite3-ruby but still get this kind of message when doing a migration:</p>
<p>morse:/Users/Shared/software/addressbook rubyrails$ rake db:migrate<br />
(in /Users/Shared/software/addressbook)<br />
rake aborted!<br />
no such file to load &#8212; sqlite3/database</p>
<p>This is on a Mac OS X Server box btw. I think I may have to resort to MySQL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrubyt perks and rules by Peter Szinek</title>
		<link>http://scottmotte.com/archives/113#comment-152</link>
		<dc:creator>Peter Szinek</dc:creator>
		<pubDate>Sat, 05 Jul 2008 06:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=113#comment-152</guid>
		<description>Well the first problem is in fact a Hpricot problem... Firefox tries to make (quite successfully) the document well-formed valid (X)HTML  during the DOM building, and though Hpricot also has its own bag of tricks, the two produce a different DOM.

Therefore you can't use the XPaths directly from FireBug in scRUBYt! (well, unless the source *really* contains a tbody tag, and it's not inserted by FF later. So it's incorrect to say you need to *always* remove the tbody tag, because if it's there in the page source, Hpricot will also parse it)

The second problem: scRUBYt! guesses if an example is an XPath or not - and the regular expression telling of XPaths from non-XPaths is quite weak, and in these cases scRUBYt! thinks the example is just text and this doesnt work of course.

In these cases you should force the example type:

stuff "font[@size=n]", example_type =&#62; :xpath 


and if you do this, scRUBYt! will do an XPath matching.
Let me know if this works.</description>
		<content:encoded><![CDATA[<p>Well the first problem is in fact a Hpricot problem&#8230; Firefox tries to make (quite successfully) the document well-formed valid (X)HTML  during the DOM building, and though Hpricot also has its own bag of tricks, the two produce a different DOM.</p>
<p>Therefore you can&#8217;t use the XPaths directly from FireBug in scRUBYt! (well, unless the source *really* contains a tbody tag, and it&#8217;s not inserted by FF later. So it&#8217;s incorrect to say you need to *always* remove the tbody tag, because if it&#8217;s there in the page source, Hpricot will also parse it)</p>
<p>The second problem: scRUBYt! guesses if an example is an XPath or not - and the regular expression telling of XPaths from non-XPaths is quite weak, and in these cases scRUBYt! thinks the example is just text and this doesnt work of course.</p>
<p>In these cases you should force the example type:</p>
<p>stuff &#8220;font[@size=n]&#8220;, example_type =&gt; :xpath </p>
<p>and if you do this, scRUBYt! will do an XPath matching.<br />
Let me know if this works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrubyt screen scraping tutorials by Peter Szinek</title>
		<link>http://scottmotte.com/archives/112#comment-151</link>
		<dc:creator>Peter Szinek</dc:creator>
		<pubDate>Sat, 05 Jul 2008 06:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=112#comment-151</guid>
		<description>Hi Scott,

Unfortunately you are right about the documentation - it sucks :-( It was fairly good when the very first version was released, because scRUBYt! didn't know much at that time, but since then even some of that changed and a lot of new stuff was added, sometimes breaking backwards compatibility... and I have to agree that because of this, the docs/tutorials are basically meaningless right now (or at least would need a lot of revamping, beefing up, mashing up with all the info in the forum, filling in the gaps etc).

Unfortunately I am pretty caught up with my new startup and don't have time for all this right now. There have been a few guys who got enthusiastic about scRUBYt!, wrote a few posts, started answering questions on the forum or even started to work on a documentation - unfortunately all these efforts ended too quick without a real result. 

We even have a trac up (https://code.adelao.it/trac/scrubyt) but not enough time to edit it :(

Today scRUBYt! knows about 30% of the final product I am imagining right now, so even though it was and is used in production already to scrape large sites with tens of thousands of records in some cases, it's still pretty rough around the edges.

Anyways... have fun and don't hesitate to ask questions directly or on the forum.

Cheers,
Peter</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>Unfortunately you are right about the documentation - it sucks <img src='http://scottmotte.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> It was fairly good when the very first version was released, because scRUBYt! didn&#8217;t know much at that time, but since then even some of that changed and a lot of new stuff was added, sometimes breaking backwards compatibility&#8230; and I have to agree that because of this, the docs/tutorials are basically meaningless right now (or at least would need a lot of revamping, beefing up, mashing up with all the info in the forum, filling in the gaps etc).</p>
<p>Unfortunately I am pretty caught up with my new startup and don&#8217;t have time for all this right now. There have been a few guys who got enthusiastic about scRUBYt!, wrote a few posts, started answering questions on the forum or even started to work on a documentation - unfortunately all these efforts ended too quick without a real result. </p>
<p>We even have a trac up (https://code.adelao.it/trac/scrubyt) but not enough time to edit it <img src='http://scottmotte.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Today scRUBYt! knows about 30% of the final product I am imagining right now, so even though it was and is used in production already to scrape large sites with tens of thousands of records in some cases, it&#8217;s still pretty rough around the edges.</p>
<p>Anyways&#8230; have fun and don&#8217;t hesitate to ask questions directly or on the forum.</p>
<p>Cheers,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Archive by Scott Motte &#187; Blog Archive &#187; Scrubyt screen scraping tutorials</title>
		<link>http://scottmotte.com/archive#comment-139</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; Scrubyt screen scraping tutorials</dc:creator>
		<pubDate>Thu, 03 Jul 2008 23:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?page_id=103#comment-139</guid>
		<description>[...] This script loops through all the li items on my archive page at http://scottmotte.com/archive [...]</description>
		<content:encoded><![CDATA[<p>[...] This script loops through all the li items on my archive page at <a href="http://scottmotte.com/archive" rel="nofollow">http://scottmotte.com/archive</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Thank you MarsEdit by Daniel Jalkut</title>
		<link>http://scottmotte.com/archives/109#comment-136</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Thu, 03 Jul 2008 16:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=109#comment-136</guid>
		<description>Awesome feedback! Thanks not only for trying MarsEdit but for taking the time to share your success story.

Daniel Jalkut
Red Sweater Software</description>
		<content:encoded><![CDATA[<p>Awesome feedback! Thanks not only for trying MarsEdit but for taking the time to share your success story.</p>
<p>Daniel Jalkut<br />
Red Sweater Software</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Normalizing data through the model before pushing to the database by scott</title>
		<link>http://scottmotte.com/archives/71#comment-126</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 02 Jul 2008 00:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=71#comment-126</guid>
		<description>gsub is a good think to use to do normalizations. 

For example:

  def to_param
    id.to_s+'-'+title.downcase.gsub(' ', '-')
  end</description>
		<content:encoded><![CDATA[<p>gsub is a good think to use to do normalizations. </p>
<p>For example:</p>
<p>  def to_param<br />
    id.to_s+&#8217;-'+title.downcase.gsub(&#8217; &#8216;, &#8216;-&#8217;)<br />
  end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Normalizing data through the model before pushing to the database by scott</title>
		<link>http://scottmotte.com/archives/71#comment-125</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 02 Jul 2008 00:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=71#comment-125</guid>
		<description>Also, here are some ruby strings: http://www.ruby-doc.org/core/classes/String.html</description>
		<content:encoded><![CDATA[<p>Also, here are some ruby strings: <a href="http://www.ruby-doc.org/core/classes/String.html" rel="nofollow">http://www.ruby-doc.org/core/classes/String.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blogo is pretty nifty by scott</title>
		<link>http://scottmotte.com/archives/64#comment-124</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Tue, 01 Jul 2008 23:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/archives/64#comment-124</guid>
		<description>Update: I decided to go with MarsEdit instead.</description>
		<content:encoded><![CDATA[<p>Update: I decided to go with MarsEdit instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting sqlite3 to work on Tiger with Rails 2.1.0 by Lee</title>
		<link>http://scottmotte.com/archives/77#comment-64</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Tue, 24 Jun 2008 18:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=77#comment-64</guid>
		<description>Thanks man.  That was very helpful.</description>
		<content:encoded><![CDATA[<p>Thanks man.  That was very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying with Git and Capistrano by Scott Motte</title>
		<link>http://scottmotte.com/archives/24#comment-60</link>
		<dc:creator>Scott Motte</dc:creator>
		<pubDate>Tue, 24 Jun 2008 03:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=24#comment-60</guid>
		<description>http://articles.slicehost.com/2008/1/18/capistrano-series-configuring-capistrano-1

Might want to look at the above url for slicehost</description>
		<content:encoded><![CDATA[<p><a href="http://articles.slicehost.com/2008/1/18/capistrano-series-configuring-capistrano-1" rel="nofollow">http://articles.slicehost.com/2008/1/18/capistrano-series-configuring-capistrano-1</a></p>
<p>Might want to look at the above url for slicehost</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying with Git and Capistrano by Scott Motte &#187; Blog Archive &#187; Removing and Deleting old git releases</title>
		<link>http://scottmotte.com/archives/24#comment-30</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; Removing and Deleting old git releases</dc:creator>
		<pubDate>Wed, 18 Jun 2008 01:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=24#comment-30</guid>
		<description>[...] This, of course, assumes you&#8217;ve already setup Capistrano to work with Git for your project. [...]</description>
		<content:encoded><![CDATA[<p>[...] This, of course, assumes you&#8217;ve already setup Capistrano to work with Git for your project. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Full text searching in rails by Scott Motte</title>
		<link>http://scottmotte.com/archives/15#comment-27</link>
		<dc:creator>Scott Motte</dc:creator>
		<pubDate>Mon, 16 Jun 2008 18:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=15#comment-27</guid>
		<description>Simple search might be the better way to go. See Ryan Bates' episode 37.</description>
		<content:encoded><![CDATA[<p>Simple search might be the better way to go. See Ryan Bates&#8217; episode 37.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lightbox with rails - use redbox by scott</title>
		<link>http://scottmotte.com/archives/11#comment-23</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 12 Jun 2008 23:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=11#comment-23</guid>
		<description>I found it here: http://agilewebdevelopment.com/plugins/lightbox_helper</description>
		<content:encoded><![CDATA[<p>I found it here: <a href="http://agilewebdevelopment.com/plugins/lightbox_helper" rel="nofollow">http://agilewebdevelopment.com/plugins/lightbox_helper</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lightbox with rails - use redbox by scott</title>
		<link>http://scottmotte.com/archives/11#comment-22</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 12 Jun 2008 23:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/?p=11#comment-22</guid>
		<description>Ambrose's plugin seems to be down. There are some on github - http://github.com/search?q=lightbox. However, they weren't too helpful.

http://rails.lipsiasoft.com/wiki/lightbox seems pretty nice and does the  trick for basic functionality.</description>
		<content:encoded><![CDATA[<p>Ambrose&#8217;s plugin seems to be down. There are some on github - <a href="http://github.com/search?q=lightbox" rel="nofollow">http://github.com/search?q=lightbox</a>. However, they weren&#8217;t too helpful.</p>
<p><a href="http://rails.lipsiasoft.com/wiki/lightbox" rel="nofollow">http://rails.lipsiasoft.com/wiki/lightbox</a> seems pretty nice and does the  trick for basic functionality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blogo is pretty nifty by Scott Motte &#187; Blog Archive &#187; Using MarsEdit now as my desktop blog publisher</title>
		<link>http://scottmotte.com/archives/64#comment-21</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; Using MarsEdit now as my desktop blog publisher</dc:creator>
		<pubDate>Wed, 11 Jun 2008 15:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://scottmotte.com/archives/64#comment-21</guid>
		<description>[...] gave Blogo a shot and liked it for a while, but there is something about MarsEdit that is just much [...]</description>
		<content:encoded><![CDATA[<p>[...] gave Blogo a shot and liked it for a while, but there is something about MarsEdit that is just much [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ajaxy commenting with Rails and RJS templates in Rails 2.0 by Scott Motte &#187; Blog Archive &#187; Ajaxy image uploading with attachment_fu - undefined method &#8216;content type&#8217; error</title>
		<link>http://scottmotte.com/archives/66#comment-20</link>
		<dc:creator>Scott Motte &#187; Blog Archive &#187; Ajaxy image uploading with at