<?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: [ruport] Re: Documatic - is this the current repo ?</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/3b02bad64fd4f57f/24b2465f52cbaf01?show_docid=24b2465f52cbaf01</link>
  <description>
  On Tue, Nov 17, 2009 at 3:58 AM, Thibaut Barrère &lt;br&gt; Thibaut. I definitely won&#39;t pull the trigger before ensuring there is &lt;br&gt; a live copy up somewhere, but not a bad idea. &lt;br&gt; -greg
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/3b02bad64fd4f57f/24b2465f52cbaf01?show_docid=24b2465f52cbaf01</guid>
  <author>
  gregory.t.br...@gmail.com
  (Gregory Brown)
  </author>
  <pubDate>Tue, 17 Nov 2009 15:09:53 UT
</pubDate>
  </item>
  <item>
  <title>Re: Documatic - is this the current repo ?</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/3b02bad64fd4f57f/1e75d78be40ef84f?show_docid=1e75d78be40ef84f</link>
  <description>
  Hi Greg, &lt;br&gt; &lt;p&gt;I couldn&#39;t find anything matching documatic on github. &lt;br&gt; &lt;p&gt;Urbanus are you monitoring this list ? What about moving to github ? &lt;br&gt; &lt;p&gt;If there&#39;s no reply, I&#39;ll make a copy over at github myself to avoid &lt;br&gt; this going into the void. &lt;br&gt; &lt;p&gt;-- Thibaut
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/3b02bad64fd4f57f/1e75d78be40ef84f?show_docid=1e75d78be40ef84f</guid>
  <author>
  thibaut.barr...@gmail.com
  (Thibaut Barrère)
  </author>
  <pubDate>Tue, 17 Nov 2009 08:58:19 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] Documatic - is this the current repo ?</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/3b02bad64fd4f57f/9e54e51ab80d0619?show_docid=9e54e51ab80d0619</link>
  <description>
  On Mon, Nov 16, 2009 at 5:39 AM, Thibaut Barrère &lt;br&gt; Actually not sure if urbanus ever got this stuff over to Github. If &lt;br&gt; not, then yes. &lt;br&gt; Hopefully he&#39;ll move it, because I will eventually take down that old &lt;br&gt; svn+trac host. &lt;br&gt; -greg
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/3b02bad64fd4f57f/9e54e51ab80d0619?show_docid=9e54e51ab80d0619</guid>
  <author>
  gregory.t.br...@gmail.com
  (Gregory Brown)
  </author>
  <pubDate>Mon, 16 Nov 2009 15:15:36 UT
</pubDate>
  </item>
  <item>
  <title>Documatic - is this the current repo ?</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/3b02bad64fd4f57f/5069afef54283abc?show_docid=5069afef54283abc</link>
  <description>
  Hello, &lt;br&gt; &lt;p&gt;just wondering, is this repository the current one for documatic ? &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stonecode.svnrepository.com/documatic/trac.cgi/browser&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;best, &lt;br&gt; &lt;p&gt;Thibaut &lt;br&gt; -- &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.learnivore.com&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/3b02bad64fd4f57f/5069afef54283abc?show_docid=5069afef54283abc</guid>
  <author>
  thibaut.barr...@gmail.com
  (Thibaut Barrère)
  </author>
  <pubDate>Mon, 16 Nov 2009 10:39:49 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] Re: Combining data from two different queries</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/38c0d3067919afb0/3bc7d6e39270f998?show_docid=3bc7d6e39270f998</link>
  <description>
  Hi Andrew. I ended up using a slightly different approach. Instead of &lt;br&gt; building the table directly from the SQL statement, I created a table &lt;br&gt; manually using methods on my ActiveRecord objects. It ended up being much &lt;br&gt; simpler this way. I think I was headed down the wrong path with my question &lt;br&gt; below.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/38c0d3067919afb0/3bc7d6e39270f998?show_docid=3bc7d6e39270f998</guid>
  <author>
  karl.b...@gmail.com
  (Karl Baum)
  </author>
  <pubDate>Wed, 21 Oct 2009 01:01:26 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] Combining data from two different queries</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/38c0d3067919afb0/03043f6be3787648?show_docid=03043f6be3787648</link>
  <description>
  Hi Karl, &lt;br&gt; Have you tried using SQL sub-selects? I can never remember the syntax &lt;br&gt; without looking it up but it&#39;s something like: &lt;br&gt; SELECT signup.code, signup.count, visit.count FROM (SELECT count(*), &lt;br&gt; c.code FROM signups s......) AS signup JOIN (SELECT ....) AS visit ON &lt;br&gt; visit.code = signup.code; &lt;br&gt; You can do this via either model, I don&#39;t think it cares what attributes
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/38c0d3067919afb0/03043f6be3787648?show_docid=03043f6be3787648</guid>
  <author>
  andrew+li...@avito.co.uk
  (Andrew France)
  </author>
  <pubDate>Tue, 20 Oct 2009 23:16:24 UT
</pubDate>
  </item>
  <item>
  <title>Combining data from two different queries</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/38c0d3067919afb0/a11653b2c456911b?show_docid=a11653b2c456911b</link>
  <description>
  On our website we track visits and signups for each of our campaigns. Visit &lt;br&gt; is a unique visit to the site and a visit is associated with a signup if &lt;br&gt; that user signs up. I created a table for visits: &lt;br&gt; s,campaigns c where s.campaign_id=c.id and s.user_id is not null group by code&amp;quot; &lt;br&gt; +---------------------+
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/38c0d3067919afb0/a11653b2c456911b?show_docid=a11653b2c456911b</guid>
  <author>
  karl.b...@gmail.com
  (Karl Baum)
  </author>
  <pubDate>Tue, 20 Oct 2009 15:21:58 UT
</pubDate>
  </item>
  <item>
  <title>Re: Problem with multiple grouping</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/6acbbccf24a4bfb9/cad0dd190ab224f2?show_docid=cad0dd190ab224f2</link>
  <description>
  Ok, I think I got it. &lt;br&gt; Having months array I can iterate over months instead of subgroups and &lt;br&gt; select each subgroup by month. If it exists I can display its &lt;br&gt; data.size, otherwise just 0.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/6acbbccf24a4bfb9/cad0dd190ab224f2?show_docid=cad0dd190ab224f2</guid>
  <author>
  szi...@gmail.com
  (szimek)
  </author>
  <pubDate>Tue, 13 Oct 2009 12:16:44 UT
</pubDate>
  </item>
  <item>
  <title>Re: Problem with multiple grouping</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/6acbbccf24a4bfb9/514790c333322a5e?show_docid=514790c333322a5e</link>
  <description>
  Thanks, this solves the problem with months and I just found out about &lt;br&gt; the problem you mentioned :) &lt;br&gt; The code assumes that each user will have entries for every month, &lt;br&gt; which is not the case, so iterating over sub groups to display the &lt;br&gt; table doesn&#39;t really work that well. &lt;br&gt; &lt;p&gt;So what&#39;s the possible solution?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/6acbbccf24a4bfb9/514790c333322a5e?show_docid=514790c333322a5e</guid>
  <author>
  szi...@gmail.com
  (szimek)
  </author>
  <pubDate>Tue, 13 Oct 2009 12:04:03 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] Problem with multiple grouping</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/6acbbccf24a4bfb9/7413760ff3c4f246?show_docid=7413760ff3c4f246</link>
  <description>
  Hi Szimek, &lt;br&gt; Your code assumes that each user will have entries for the same months? &lt;br&gt; If that&#39;s the case, grabbing the keys from the first subgroup hash &lt;br&gt; should work? &lt;br&gt; You could also just: &lt;br&gt; @months = @table.map {|r| r[&#39;created_on_month&#39;] }.sort.uniq &lt;br&gt; If I&#39;m missing something you&#39;ll have to explain to me a bit further!
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/6acbbccf24a4bfb9/7413760ff3c4f246?show_docid=7413760ff3c4f246</guid>
  <author>
  andrew+li...@avito.co.uk
  (Andrew France)
  </author>
  <pubDate>Tue, 13 Oct 2009 11:41:49 UT
</pubDate>
  </item>
  <item>
  <title>Problem with multiple grouping</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/6acbbccf24a4bfb9/c7f51ad83cfc0aea?show_docid=c7f51ad83cfc0aea</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;I&#39;m trying to create a report with user activity across the last few &lt;br&gt; months. I&#39;d like to create a table where on X axis (table header) &lt;br&gt; there&#39;d be month names and on Y axis (first table cell in every row) &lt;br&gt; would be user name. &lt;br&gt; &lt;p&gt;Here&#39;s what I got right now: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://pastie.org/652718&quot;&gt;[link]&lt;/a&gt;. &lt;br&gt; The problem is that I don&#39;t really know how to diplay all months in
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/6acbbccf24a4bfb9/c7f51ad83cfc0aea?show_docid=c7f51ad83cfc0aea</guid>
  <author>
  szi...@gmail.com
  (szimek)
  </author>
  <pubDate>Tue, 13 Oct 2009 10:47:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: Ruport and WillPaginate</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/129e31e8d6242425/6ec09d5287f662e7?show_docid=6ec09d5287f662e7</link>
  <description>
  Hello Sylvain, &lt;br&gt; Thanks for the tips. &lt;br&gt; &lt;p&gt;Because I need to use :include with ruport, I needed a count method &lt;br&gt; that works with Ruport but I didn&#39;t found one so I created one myself &lt;br&gt; - using code from report_table from act_as_reportable (see bellow). &lt;br&gt; def count_table(number = :all, options = {}) &lt;br&gt; only = options.delete(:only)
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/129e31e8d6242425/6ec09d5287f662e7?show_docid=6ec09d5287f662e7</guid>
  <author>
  hugo....@gmail.com
  (Tygo)
  </author>
  <pubDate>Mon, 05 Oct 2009 11:06:20 UT
</pubDate>
  </item>
  <item>
  <title>Re: [ruport] Ruport and WillPaginate</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/129e31e8d6242425/5c7ac635b8ad0825?show_docid=5c7ac635b8ad0825</link>
  <description>
  Hi Tygo, &lt;br&gt; WillPaginate does what you want by default, no need for additional steps. &lt;br&gt; It has two options you could use : &lt;br&gt; Instead of loading, counting, then discarding all but the 20 elements &lt;br&gt; you want, you can do a simple &amp;quot;count&amp;quot; request (ActiveRecord::count or &lt;br&gt; pure SQL) that will not map DB records to Ruby objects, saving much
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/129e31e8d6242425/5c7ac635b8ad0825?show_docid=5c7ac635b8ad0825</guid>
  <author>
  sylvain.abel...@gmail.com
  (Sylvain Abélard)
  </author>
  <pubDate>Wed, 23 Sep 2009 07:40:22 UT
</pubDate>
  </item>
  <item>
  <title>Ruport and WillPaginate</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/129e31e8d6242425/7ed040f5796859d2?show_docid=7ed040f5796859d2</link>
  <description>
  Hello all, &lt;br&gt; I&#39;m trying to use ruport and pagination and right now I do the &lt;br&gt; following: &lt;br&gt; &lt;p&gt;table = model.report_table(:all, :only =&amp;gt; columns, :conditions =&amp;gt; &lt;br&gt; filters, :offset =&amp;gt; current_offset) &lt;br&gt; &lt;p&gt;n_records = table.size &lt;br&gt; per_page = 20 &lt;br&gt; &lt;p&gt;current_page = 1 &lt;br&gt; if(params[&amp;quot;page&amp;quot;] != nil) &lt;br&gt; current_page = params[&amp;quot;page&amp;quot;].to_i
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/129e31e8d6242425/7ed040f5796859d2?show_docid=7ed040f5796859d2</guid>
  <author>
  hugo....@gmail.com
  (Tygo)
  </author>
  <pubDate>Wed, 23 Sep 2009 07:14:47 UT
</pubDate>
  </item>
  <item>
  <title>More than one source, editing openxml files possible?</title>
  <link>http://groups.google.com/group/ruby-reports/browse_thread/thread/08bb1606d7e08c9a/408f1e9642163ed9?show_docid=408f1e9642163ed9</link>
  <description>
  Hey Group members, &lt;br&gt; &lt;p&gt;I have several xml files as a input and the entire inputstream is like &lt;br&gt; 10 MB. I don&#39;t know if I really have all data when I create the &lt;br&gt; openxml file. Can I somehow create a openxml out of an openxml &lt;br&gt; template and fill the data later in when I have it? &lt;br&gt; &lt;p&gt;I have seen that there are different data structures, such as tables,
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/ruby-reports/browse_thread/thread/08bb1606d7e08c9a/408f1e9642163ed9?show_docid=408f1e9642163ed9</guid>
  <author>
  p0lycyb...@gmail.com
  (Steven Crypter)
  </author>
  <pubDate>Mon, 14 Sep 2009 14:19:53 UT
</pubDate>
  </item>
  </channel>
</rss>
