<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -98,6 +98,21 @@ This can be easily handled using finder_filter:
 
   finder_filter :nested =&gt; :topic
 
+Nested resources will only do a find on the parent model if the parent id is supplied.
+This allows you to handle routing setups like this:
+
+map.resources :posts
+map.resources :topics do |topic|
+  topic.resources :posts
+end
+
+With this setup, both /posts/1 and /topics/1/posts/2 will be valid URLs, and will do the 
+right thing if you include 
+
+finder_filter :nested =&gt; :topic
+
+in your Posts controller.
+
 == from_param
 
 If you have Michael Bleigh's from_param (http://github.com/mbleigh/from_param/tree/master)</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@ module FinderFilter
     
     define_method &quot;find_#{name}&quot; do
       klass = name.to_s.classify.constantize
-      if nested
+      if nested &amp;&amp; params.include?(&quot;#{nested}_id&quot;)
         nested_klass = nested.to_s.classify.constantize
         nested_param = &quot;#{nested}_id&quot;.intern
         </diff>
      <filename>lib/finder_filter.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cf4afc34d14ed36b00343c4913196218d908ee11</id>
    </parent>
  </parents>
  <author>
    <name>Mike Gunderloy</name>
    <email>MikeG1@larkfarm.com</email>
  </author>
  <url>http://github.com/ffmike/finder_filter/commit/a50fa6b92eb2190545a8b81ab95f0855e2202d0f</url>
  <id>a50fa6b92eb2190545a8b81ab95f0855e2202d0f</id>
  <committed-date>2008-09-06T09:01:27-07:00</committed-date>
  <authored-date>2008-09-06T09:01:27-07:00</authored-date>
  <message>Make supplying parent id optional for nested finders.

This supports routing such as:

map.resources :posts
map.resources :topics do |topic|
  topic.resources :posts
end</message>
  <tree>4e44e67cd7f40dccea421d576a277568da181cfa</tree>
  <committer>
    <name>Mike Gunderloy</name>
    <email>MikeG1@larkfarm.com</email>
  </committer>
</commit>
