<?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/"
		>
<channel>
	<title>Comments on: Intermediate Rails: Understanding Models, Views and Controllers</title>
	<atom:link href="http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/feed/" rel="self" type="application/rss+xml" />
	<link>http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/</link>
	<description>Learning shouldn&#039;t hurt. Let&#039;s share the insights that made difficult ideas click.</description>
	<lastBuildDate>Fri, 10 Sep 2010 15:29:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Simon</title>
		<link>http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/#comment-313493</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 06 Sep 2010 08:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/#comment-313493</guid>
		<description>Be careful with the method override:

def length=(minutes)
  self[:length] = minutes * 60
end

This will multiply a string by 60 when used in a form, not an integer. Better to cast this:

Be careful with the method override:

def length=(minutes)
  self[:length] = minutes.to_i * 60
end</description>
		<content:encoded><![CDATA[<p>Be careful with the method override:</p>
<p>def length=(minutes)<br />
  self[:length] = minutes * 60<br />
end</p>
<p>This will multiply a string by 60 when used in a form, not an integer. Better to cast this:</p>
<p>Be careful with the method override:</p>
<p>def length=(minutes)<br />
  self[:length] = minutes.to_i * 60<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaScriptMVC and jQuery &#187; Web Tech Ranch</title>
		<link>http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/#comment-308031</link>
		<dc:creator>JavaScriptMVC and jQuery &#187; Web Tech Ranch</dc:creator>
		<pubDate>Wed, 11 Aug 2010 19:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/#comment-308031</guid>
		<description>[...] (as expressed here by rmurphey as it pertains to deficient use of jQuery (I&#8217;m guilty!)), and I understand MVC (model-view-controller) applications and personally value them as a superior way of coding, even though, once again, I&#8217;m guilty of [...]</description>
		<content:encoded><![CDATA[<p>[...] (as expressed here by rmurphey as it pertains to deficient use of jQuery (I&#8217;m guilty!)), and I understand MVC (model-view-controller) applications and personally value them as a superior way of coding, even though, once again, I&#8217;m guilty of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2010-07-15 &#171; riverrun by meaghn &#124; beta</title>
		<link>http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/#comment-307274</link>
		<dc:creator>links for 2010-07-15 &#171; riverrun by meaghn &#124; beta</dc:creator>
		<pubDate>Fri, 16 Jul 2010 03:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/#comment-307274</guid>
		<description>[...] Better Explained &#124; learn right, not rote # Site tweaks: Faster Javascript load time (examples), HTTP caching, gzip compression # Ruby on Rails: Starting Ruby on Rails, Understanding MVC # Tools: version control, distributed VCS # Web Development: Debugging with Firefox, Javascript Reference, load XML/JSON data, gmail XSRF attack, GUIDs, making bookmarklets (tags: rails rubyonrails tutorial programming development howto) [...]</description>
		<content:encoded><![CDATA[<p>[...] Better Explained | learn right, not rote # Site tweaks: Faster Javascript load time (examples), HTTP caching, gzip compression # Ruby on Rails: Starting Ruby on Rails, Understanding MVC # Tools: version control, distributed VCS # Web Development: Debugging with Firefox, Javascript Reference, load XML/JSON data, gmail XSRF attack, GUIDs, making bookmarklets (tags: rails rubyonrails tutorial programming development howto) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 5/12 queries in 0.008 seconds using disk

Served from: betterexplained.com @ 2010-09-10 18:53:13 -->