<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>Ruby Reports Google Group</title>
  <link>http://groups.google.com/group/ruby-reports</link>
  <description>This is the discussion list for Ruby Reports (http://rubyreports.org), a simple reporting framework for Ruby. Any topic remotely related to the software is welcome, so feel free to share what&amp;#39;s on your mind!</description>
  <language>en</language>
  <item>
  <title>Re: acts_as_reportable basic questions for relatively complex data model</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/f73cf8dd265a578f?show_docid=f73cf8dd265a578f</link>
  <description>
  Been experimenting with this for a while and still getting an error. &lt;br&gt; Any thoughts much appreciated. &lt;br&gt; &lt;p&gt;Here&#39;s the line and stack trace. &lt;br&gt; &lt;p&gt; @table = ModelA.report_table(:all, :only =&amp;gt; &lt;br&gt; [:id, :name], :include =&amp;gt; {:model_b =&amp;gt; {:only =&amp;gt; [:name], :include =&amp;gt; &lt;br&gt; {:model_c =&amp;gt; {:only =&amp;gt; [:name], :include =&amp;gt; :model_d }}}})
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/f73cf8dd265a578f?show_docid=f73cf8dd265a578f</guid>
  <author>
  walke...@gmail.com
  (Halfordian Golfer)
  </author>
  <pubDate>Wed, 17 Jun 2009 14:25:19 UT
</pubDate>
  </item>
  <item>
  <title>Re: acts_as_reportable basic questions for relatively complex data model</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/2df46ac27f8ec7b3?show_docid=2df46ac27f8ec7b3</link>
  <description>
  Duh. I see that this was answered already. Very helpful!!! &lt;br&gt; &lt;p&gt;Thanks, &lt;br&gt; &lt;p&gt;Tim
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/2df46ac27f8ec7b3?show_docid=2df46ac27f8ec7b3</guid>
  <author>
  walke...@gmail.com
  (Halfordian Golfer)
  </author>
  <pubDate>Sat, 13 Jun 2009 14:23:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: acts_as_reportable basic questions for relatively complex data model</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/d4373ce39c243d13?show_docid=d4373ce39c243d13</link>
  <description>
  Just another quick question on this. &lt;br&gt; &lt;p&gt;In the example where: &lt;br&gt; &lt;p&gt;model_a has many model_b through model_c &lt;br&gt; &lt;p&gt;Do you need to include model_c? &lt;br&gt; &lt;p&gt;Thanks, &lt;br&gt; &lt;p&gt;Tim
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/d4373ce39c243d13?show_docid=d4373ce39c243d13</guid>
  <author>
  walke...@gmail.com
  (Halfordian Golfer)
  </author>
  <pubDate>Sat, 13 Jun 2009 14:22:15 UT
</pubDate>
  </item>
  <item>
  <title>Re: acts_as_reportable basic questions for relatively complex data model</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/0d7964068150c281?show_docid=0d7964068150c281</link>
  <description>
  Hi Andrew, &lt;br&gt; &lt;p&gt;This is exactly what I was looking for and points me back in the right &lt;br&gt; direction. &lt;br&gt; &lt;p&gt;My question about the id&#39;s stems from the use of it in various &lt;br&gt; examples that I may have been reading too much in to. It was looking &lt;br&gt; like you&#39;d need to ensure the id column was present if it was to be
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/0d7964068150c281?show_docid=0d7964068150c281</guid>
  <author>
  walke...@gmail.com
  (Halfordian Golfer)
  </author>
  <pubDate>Thu, 11 Jun 2009 12:50:09 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] acts_as_reportable basic questions for relatively complex data model</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/2ddb72897e3cc2ef?show_docid=2ddb72897e3cc2ef</link>
  <description>
  Hi Tim, &lt;br&gt; Model_c is not a relation on model_a, you want a nested include: &lt;br&gt; And if you wanted model_d: &lt;br&gt; Don&#39;t ask for the model_d and model_c relations from model_b at the same &lt;br&gt; level as it will cause duplicates (see many previous messages on list). &lt;br&gt; I&#39;m afraid you&#39;d actually have to give the exception message and a few
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/2ddb72897e3cc2ef?show_docid=2ddb72897e3cc2ef</guid>
  <author>
  andrew+li...@avito.co.uk
  (Andrew France)
  </author>
  <pubDate>Thu, 11 Jun 2009 09:16:12 UT
</pubDate>
  </item>
  <item>
  <title>Table data manipulation/copying columns - simple question... I think</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/957043d18a82b1a7/985b4d267f57c793?show_docid=985b4d267f57c793</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;I&#39;m new to this and though I think this is a simple operation, I can&#39;t &lt;br&gt; find the answer here or in the documentation. &lt;br&gt; &lt;p&gt;What is the best way to take two columns from a Table and copy them to &lt;br&gt; a new Table. E.g. Table 1 has columns a,b,c,d with data, I want to &lt;br&gt; create a new Table, Table 2, with two columns equal to b and d from
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/957043d18a82b1a7/985b4d267f57c793?show_docid=985b4d267f57c793</guid>
  <author>
  will.mas...@gmail.com
  (willemaster)
  </author>
  <pubDate>Thu, 11 Jun 2009 04:17:43 UT
</pubDate>
  </item>
  <item>
  <title>acts_as_reportable basic questions for relatively complex data model</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/9f55660b3d3b0ec8?show_docid=9f55660b3d3b0ec8</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;I have a fairly complex domain that I am trying to report on and am &lt;br&gt; having &lt;br&gt; difficulty with report_table. &lt;br&gt; &lt;p&gt;But, my basic question is about the general use of :include. &lt;br&gt; &lt;p&gt;model_a has many model_b &lt;br&gt; model_b has many model_c &lt;br&gt; model_b has many model_d through model_c &lt;br&gt; &lt;p&gt;When I do: &lt;br&gt; model_a.report_table(:all, :include =&amp;gt; [:model_b])
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/73f52e37eec7fc72/9f55660b3d3b0ec8?show_docid=9f55660b3d3b0ec8</guid>
  <author>
  walke...@gmail.com
  (Halfordian Golfer)
  </author>
  <pubDate>Thu, 11 Jun 2009 01:45:14 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] not request for help, just THANKS!</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/007f3449174686e2/ae7207bc6f0250db?show_docid=ae7207bc6f0250db</link>
  <description>
  +1, thanks so much too, &lt;br&gt; &lt;p&gt;Benjamín &lt;br&gt; &lt;p&gt;gluis escribió:
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/007f3449174686e2/ae7207bc6f0250db?show_docid=ae7207bc6f0250db</guid>
  <author>
  bencar...@gmail.com
  (Benjamín Cárdenas Salamandra)
  </author>
  <pubDate>Wed, 27 May 2009 18:47:28 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] not request for help, just THANKS!</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/007f3449174686e2/a23229c5eaaae3d3?show_docid=a23229c5eaaae3d3</link>
  <description>
  Wow, don&#39;t see posts like this often. That makes my day, so thank you! &lt;br&gt; -greg
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/007f3449174686e2/a23229c5eaaae3d3?show_docid=a23229c5eaaae3d3</guid>
  <author>
  gregory.t.br...@gmail.com
  (Gregory Brown)
  </author>
  <pubDate>Wed, 27 May 2009 17:40:07 UT
</pubDate>
  </item>
  <item>
  <title>not request for help, just THANKS!</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/007f3449174686e2/29e80fc5fec70f81?show_docid=29e80fc5fec70f81</link>
  <description>
  just a HUGE thanks to every one of you who worked on and maintain &lt;br&gt; ruport, acts_as_reportable, ruport/utils, and everything else related! &lt;br&gt; &lt;p&gt;you have done such a great service for all of us. &lt;br&gt; &lt;p&gt;thanks.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/007f3449174686e2/29e80fc5fec70f81?show_docid=29e80fc5fec70f81</guid>
  <author>
  louisju...@gmail.com
  (gluis)
  </author>
  <pubDate>Wed, 27 May 2009 17:23:41 UT
</pubDate>
  </item>
  <item>
  <title>Re: acts_as_reportable: duplicate records returned when two models used with :include</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/36be042790252640/ce478b0b26e22eeb?show_docid=ce478b0b26e22eeb</link>
  <description>
  well, this works (nesting). thanks! one note, i get some warnings &lt;br&gt; before the results, which might be of interest to you as the &lt;br&gt; maintainer: &lt;br&gt; &lt;p&gt;/usr/local/lib/ruby/gems/1.8/g ems/activerecord-2.3.2/lib/act ive_record/ &lt;br&gt; associations/association_proxy .rb:221: warning: default `to_a&#39; will be &lt;br&gt; obsolete &lt;br&gt; /usr/local/lib/ruby/gems/1.8/g ems/activerecord-2.3.2/lib/act ive_record/
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/36be042790252640/ce478b0b26e22eeb?show_docid=ce478b0b26e22eeb</guid>
  <author>
  louisju...@gmail.com
  (gluis)
  </author>
  <pubDate>Tue, 26 May 2009 17:23:00 UT
</pubDate>
  </item>
  <item>
  <title>Re: acts_as_reportable: duplicate records returned when two models used with :include</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/36be042790252640/77c3441a1e527625?show_docid=77c3441a1e527625</link>
  <description>
  thanks, andrew. i would have replied sooner, but i was offline all &lt;br&gt; weekend. i&#39;ll test this today. &lt;br&gt; &lt;p&gt;ftr, i&#39;m using ar 2.3.2 &lt;br&gt; &lt;p&gt;the third strangeness was just pointing out that if i only include one &lt;br&gt; model, it works as expected.but if i do the equivalent of a &#39;where&#39; &lt;br&gt; clause by using :conditions, that the same duplication of records
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/36be042790252640/77c3441a1e527625?show_docid=77c3441a1e527625</guid>
  <author>
  louisju...@gmail.com
  (gluis)
  </author>
  <pubDate>Tue, 26 May 2009 17:10:46 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] acts_as_reportable: duplicate records returned when two models used with :include</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/36be042790252640/ea742831a8f85021?show_docid=ea742831a8f85021</link>
  <description>
  I think the behaviour is correct because you are including &#39;events&#39; &lt;br&gt; twice via the HABTM :through. You would probably want a nested include: &lt;br&gt; {:events =&amp;gt; {:only =&amp;gt; :id}}}} &lt;br&gt; Acts As Reportable has no SQL knowledge it just walks the ActiveRecord &lt;br&gt; object graph so it doesn&#39;t know that the two separate associations go to
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/36be042790252640/ea742831a8f85021?show_docid=ea742831a8f85021</guid>
  <author>
  andrew+li...@avito.co.uk
  (Andrew France)
  </author>
  <pubDate>Sat, 23 May 2009 08:35:26 UT
</pubDate>
  </item>
  <item>
  <title>Re: Noobie: error on require &#39;ruport&#39;</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/18d9e30b7d7a7cf5/e2ead16910c6c7d1?show_docid=e2ead16910c6c7d1</link>
  <description>
  i don&#39;t see much of what you&#39;ve written--it looks like there&#39;s &lt;br&gt; supposed to be code here? &lt;br&gt; &lt;p&gt;but guessing from what appears in your post, it looks like what you &lt;br&gt; want is: &lt;br&gt; &lt;p&gt;Ruport::Controller if you&#39;re trying to use a model that inherits &lt;br&gt; Ruport&#39;s controller class. or, if you just want a report, you use
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/18d9e30b7d7a7cf5/e2ead16910c6c7d1?show_docid=e2ead16910c6c7d1</guid>
  <author>
  louisju...@gmail.com
  (gluis)
  </author>
  <pubDate>Sat, 23 May 2009 00:03:42 UT
</pubDate>
  </item>
  <item>
  <title>acts_as_reportable: duplicate records returned when two models used with :include</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/36be042790252640/73b50c0e34de11f1?show_docid=73b50c0e34de11f1</link>
  <description>
  hi all, &lt;br&gt; &lt;p&gt;i&#39;m getting some strangeness w/ acts_as_reportable. short question: is &lt;br&gt; there a way to ensure a query is only run once? see below for why i &lt;br&gt; ask: (btw, although this is a longish question, i only put in relevant &lt;br&gt; info) &lt;br&gt; &lt;p&gt;assume 3 models &lt;br&gt; Event, has_many :members, :through =&amp;gt; :registrations AND
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/36be042790252640/73b50c0e34de11f1?show_docid=73b50c0e34de11f1</guid>
  <author>
  louisju...@gmail.com
  (gluis)
  </author>
  <pubDate>Fri, 22 May 2009 23:53:18 UT
</pubDate>
  </item>
  </channel>
</rss>
