<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Rails Tip Roundup</title>
	<atom:link href="http://blog.innovativethought.net/2008/10/11/rails-tip-roundup/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.innovativethought.net/2008/10/11/rails-tip-roundup/</link>
	<description>think. design. innovate.</description>
	<lastBuildDate>Mon, 15 Feb 2010 18:09:30 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: cheapRoc</title>
		<link>http://blog.innovativethought.net/2008/10/11/rails-tip-roundup/#comment-103</link>
		<dc:creator>cheapRoc</dc:creator>
		<pubDate>Tue, 03 Feb 2009 16:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://innovativethought.wordpress.com/?p=85#comment-103</guid>
		<description>Screw RedCloth... Textile is not as beautiful as Markdown. We use Markdown for our multipart email notifications coming out of our Rails apps. If they want plain text, Markdown looks AMAZING in that... if they want HTML, well Markdown also has you covered.

RDiscount is screaming fast as well.</description>
		<content:encoded><![CDATA[<p>Screw RedCloth&#8230; Textile is not as beautiful as Markdown. We use Markdown for our multipart email notifications coming out of our Rails apps. If they want plain text, Markdown looks AMAZING in that&#8230; if they want HTML, well Markdown also has you covered.</p>
<p>RDiscount is screaming fast as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.innovativethought.net/2008/10/11/rails-tip-roundup/#comment-82</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sun, 12 Oct 2008 21:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://innovativethought.wordpress.com/?p=85#comment-82</guid>
		<description>Jeremy, nice submit_title helper - I like that.

I also think you have a good idea on creating a more generic markup helper, but for me I&#039;m pretty well comfortable with RedCloth.

I have indeed played with both permalink_fu and acts_as_slugable, but sometimes I just need a simply solution for a single model and I&#039;d rather not bring their full functionality in to achieve it.

Thanks for the great points.</description>
		<content:encoded><![CDATA[<p>Jeremy, nice submit_title helper &#8211; I like that.</p>
<p>I also think you have a good idea on creating a more generic markup helper, but for me I&#8217;m pretty well comfortable with RedCloth.</p>
<p>I have indeed played with both permalink_fu and acts_as_slugable, but sometimes I just need a simply solution for a single model and I&#8217;d rather not bring their full functionality in to achieve it.</p>
<p>Thanks for the great points.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Newton</title>
		<link>http://blog.innovativethought.net/2008/10/11/rails-tip-roundup/#comment-81</link>
		<dc:creator>Dave Newton</dc:creator>
		<pubDate>Sun, 12 Oct 2008 19:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://innovativethought.wordpress.com/?p=85#comment-81</guid>
		<description>The submit button is a perfect place for a small helper that encapsulates the condition: much cleaner, and as you note, a simple-but-useful usability enhancement.</description>
		<content:encoded><![CDATA[<p>The submit button is a perfect place for a small helper that encapsulates the condition: much cleaner, and as you note, a simple-but-useful usability enhancement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Weiskotten</title>
		<link>http://blog.innovativethought.net/2008/10/11/rails-tip-roundup/#comment-80</link>
		<dc:creator>Jeremy Weiskotten</dc:creator>
		<pubDate>Sun, 12 Oct 2008 17:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://innovativethought.wordpress.com/?p=85#comment-80</guid>
		<description>Good tips. I&#039;d like suggest a few small improvements.

Your conditional button code could be extracted into a reusable helper:

def submit_title(object, type=object.class.name.titleize)
  (object.new_record? ? &quot;Create &quot; : &quot;Update &quot;) + type
end

 # Create Customer / Update Customer
 # Create Client / Update Client


For your RedCloth helper, I recommend naming your helper something more generic, like &quot;markup&quot;. That way you can swap in a different markup parser if you want to without having references to the old one all over your code. I think this is a good idea even if you use the textililze (or markdown) helpers.

For permalinks, have you seen the permalink_fu plugin? There are a couple other plugins out there as well.</description>
		<content:encoded><![CDATA[<p>Good tips. I&#8217;d like suggest a few small improvements.</p>
<p>Your conditional button code could be extracted into a reusable helper:</p>
<p>def submit_title(object, type=object.class.name.titleize)<br />
  (object.new_record? ? &#8220;Create &#8221; : &#8220;Update &#8220;) + type<br />
end</p>
<p> # Create Customer / Update Customer<br />
 # Create Client / Update Client</p>
<p>For your RedCloth helper, I recommend naming your helper something more generic, like &#8220;markup&#8221;. That way you can swap in a different markup parser if you want to without having references to the old one all over your code. I think this is a good idea even if you use the textililze (or markdown) helpers.</p>
<p>For permalinks, have you seen the permalink_fu plugin? There are a couple other plugins out there as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey Martella</title>
		<link>http://blog.innovativethought.net/2008/10/11/rails-tip-roundup/#comment-79</link>
		<dc:creator>Corey Martella</dc:creator>
		<pubDate>Sat, 11 Oct 2008 16:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://innovativethought.wordpress.com/?p=85#comment-79</guid>
		<description>write_attribute: never knew this existed and it makes perfect sense. So helpful when you want to overload a setter method with some data normalization or secondary ops. Thanks for pointing it out!</description>
		<content:encoded><![CDATA[<p>write_attribute: never knew this existed and it makes perfect sense. So helpful when you want to overload a setter method with some data normalization or secondary ops. Thanks for pointing it out!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
