<?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: ActiveRecord::Base.with_scope { :only =&gt; &#8216;in your model&#8217; } &#8211; Rails 2.0 a feature a day #4</title>
	<atom:link href="http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/</link>
	<description>Rails, Firefox, Anime, Mac</description>
	<lastBuildDate>Thu, 11 Mar 2010 23:55:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tecker.LOG &#187; Blog Archive &#187; ActiveRecord::Base.with_scope { :only =&#62; ‘in your model’ }?????Rails 2.0?? #4(??)</title>
		<link>http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/comment-page-1/#comment-647204</link>
		<dc:creator>Tecker.LOG &#187; Blog Archive &#187; ActiveRecord::Base.with_scope { :only =&#62; ‘in your model’ }?????Rails 2.0?? #4(??)</dc:creator>
		<pubDate>Tue, 03 Jun 2008 15:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/#comment-647204</guid>
		<description>[...] ???ActiveRecord::Base.with_scope { :only =&gt; ‘in your model’ } - Rails 2.0 a feature a day #4 [...]</description>
		<content:encoded><![CDATA[<p>[...] ???ActiveRecord::Base.with_scope { :only =&gt; ‘in your model’ } &#8211; Rails 2.0 a feature a day #4 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/comment-page-1/#comment-435345</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Fri, 11 Jan 2008 06:34:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/#comment-435345</guid>
		<description>Thanks for the info.  I tend to dislike reading gobs of extracted documentation, it tends to be very patchy and with logical connections missing.  

My psychology on these things comes from building lots of software in teams, software we documented for our customers.  Meanwhile, once something was documented we hardly ever dared violate the docs, otherwise the customers would scream.  Meanwhile we were fixing and enhancing things behind the wall of the documented API and UI.

I guess this mindset comes from the world of proprietary software.  In the open source, or at least Rails, world, I think I&#039;m actually expected to know the source.  Which partially defeats the purpose of using software written by others.  On the other hand, Linux and Ruby are 2 examples of open source software where you can read the docs to learn what you need to know.

Rails is a change of culture, like moving to a new country, and I am going to have to get used to it.  It&#039;s a little awkward since I have non-Rails projects too.   A leg in each camp.

Thanks for the info.
Fred</description>
		<content:encoded><![CDATA[<p>Thanks for the info.  I tend to dislike reading gobs of extracted documentation, it tends to be very patchy and with logical connections missing.  </p>
<p>My psychology on these things comes from building lots of software in teams, software we documented for our customers.  Meanwhile, once something was documented we hardly ever dared violate the docs, otherwise the customers would scream.  Meanwhile we were fixing and enhancing things behind the wall of the documented API and UI.</p>
<p>I guess this mindset comes from the world of proprietary software.  In the open source, or at least Rails, world, I think I&#8217;m actually expected to know the source.  Which partially defeats the purpose of using software written by others.  On the other hand, Linux and Ruby are 2 examples of open source software where you can read the docs to learn what you need to know.</p>
<p>Rails is a change of culture, like moving to a new country, and I am going to have to get used to it.  It&#8217;s a little awkward since I have non-Rails projects too.   A leg in each camp.</p>
<p>Thanks for the info.<br />
Fred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chu Yeow</title>
		<link>http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/comment-page-1/#comment-433272</link>
		<dc:creator>Chu Yeow</dc:creator>
		<pubDate>Thu, 10 Jan 2008 10:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/#comment-433272</guid>
		<description>You said it yourself, it &lt;em&gt;is&lt;/em&gt; in the &lt;a href=&quot;http://api.rubyonrails.org/&quot; rel=&quot;nofollow&quot;&gt;RDoc&lt;/a&gt;. That is hardly undocumented and unfortunately with_scope IS part of the documented API. It was simply misused by some. Anyway, I read the Rails source and embedded RDocs quite often since I use edge Rails and often submit patches to Rails.

But I didn&#039;t first learn of it from there - I think I either saw it on Ryan Daigle&#039;s blog or in the &lt;a href=&quot;http://errtheblog.com/posts/39-withscope-with-scope&quot; rel=&quot;nofollow&quot;&gt;errtheblog post&lt;/a&gt; I was talking about.</description>
		<content:encoded><![CDATA[<p>You said it yourself, it <em>is</em> in the <a href="http://api.rubyonrails.org/" rel="nofollow">RDoc</a>. That is hardly undocumented and unfortunately with_scope IS part of the documented API. It was simply misused by some. Anyway, I read the Rails source and embedded RDocs quite often since I use edge Rails and often submit patches to Rails.</p>
<p>But I didn&#8217;t first learn of it from there &#8211; I think I either saw it on Ryan Daigle&#8217;s blog or in the <a href="http://errtheblog.com/posts/39-withscope-with-scope" rel="nofollow">errtheblog post</a> I was talking about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/comment-page-1/#comment-433198</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Thu, 10 Jan 2008 09:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/12/16/activerecordbasewith_scope-only-in-your-model-rails-20-a-feature-a-day-4/#comment-433198</guid>
		<description>Question:  Where did you first learn of the existence of with_scope?  It&#039;s not mentioned in AWDWR.  Were you trolling through the Rails source, reading the Rdoc like a novel, or what?

I&#039;m interested in the development methods others use.  I learned a long time ago that an important part of development is scrutinizing the documentation in great detail.  And to avoid using undocumented API&#039;s.  With_scope is nearly undocumented, although it is in the rdoc.  I was surprised to learn that this method call I&#039;d never heard of was already being abused...</description>
		<content:encoded><![CDATA[<p>Question:  Where did you first learn of the existence of with_scope?  It&#8217;s not mentioned in AWDWR.  Were you trolling through the Rails source, reading the Rdoc like a novel, or what?</p>
<p>I&#8217;m interested in the development methods others use.  I learned a long time ago that an important part of development is scrutinizing the documentation in great detail.  And to avoid using undocumented API&#8217;s.  With_scope is nearly undocumented, although it is in the rdoc.  I was surprised to learn that this method call I&#8217;d never heard of was already being abused&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
