Combining multiple reports into one?

2 views
Skip to first unread message

Bryan D

unread,
May 17, 2009, 12:36:39 PM5/17/09
to Ruby Reports
Hi,

I'm wondering if there is a correct way to combine multiple reports.
I couldn't find anything in the documentation and examples, but maybe
I just didn't look in the right place.

I'm using Ruport with Rails and have an app/reports directory that
contains two reports, Foo and Bar. Each has two or three stages.
What I want to do is create a third report, (let's call it Combo) and
have it generate a single report combining selected stages from Foo
and Bar. I envision something like this:

class ComboReport < Ruport::Controller

stage Foo::stage1, Foo::stage2, Bar::stage1 # I doubt this would be
the right syntax, but you get the idea

# ...

end

Is there a built-in or best way to do this?

Thanks,
Bryan
Reply all
Reply to author
Forward
0 new messages