<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,10 @@
 = General
-  * 
+  * Figure out how to all for the creation of a single report definition file within app/reports instead of one per report
+  * Change report definition from the current to something more like 
+  *     report :name do 
+  *         report def options
+  *     end
+  
 = Reports
   * Factory Generators (for records data)
   * Pdf engine option</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -184,6 +184,21 @@ module DynamicReports
         links({:column =&gt; column, :url =&gt; url, :link_options =&gt; link_options})
       end
       
+      # Define an inline subreport for the report
+      #
+      # Pass parameters within {}.  Parameters are replaced with the row values 
+      # from passed records.  You do NOT need to include a parameter value as a 
+      # report column for it to be used in a link. For example, you might 
+      # want to generate a subreport with an ID field in it but not display that id 
+      # in the actual report.  Just include {id} to do this.
+      #
+      # Example:
+      #
+      # subreport :visits, '/reports/{visit}/details?date={recorded_at}'
+      #
+      # The subreport should be created using the same report definition style 
+      # that you use for any other report.  
+      # 
       def subreport(column, url, link_options=nil)
         link_options ||= {}
         link_options.merge!({:class =&gt; 'sub_report_link'}) </diff>
      <filename>lib/dynamic_reports/reports.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>35a07ccca4ecd56f42f1de223dabea1a684ce7d6</id>
    </parent>
  </parents>
  <author>
    <name>Joshua Lippiner</name>
    <email>jlippiner@joshua-lippiners-macbook-pro.local</email>
  </author>
  <url>http://github.com/wayneeseguin/dynamic_reports/commit/59f6efebe478c351b3917c550a17b29e8ce19d74</url>
  <id>59f6efebe478c351b3917c550a17b29e8ce19d74</id>
  <committed-date>2009-07-16T07:19:01-07:00</committed-date>
  <authored-date>2009-07-16T07:19:01-07:00</authored-date>
  <message>Updated todo and readme</message>
  <tree>c85834a67b338f893e2b90ee4c8d7287118842ee</tree>
  <committer>
    <name>Joshua Lippiner</name>
    <email>jlippiner@joshua-lippiners-macbook-pro.local</email>
  </committer>
</commit>
