sorry just found the github page - ignore my previous message
On Jun 26, 8:46 am, plump <
james.r.cr...@googlemail.com> wrote:
> I'm running into a problem using acts as reportable on Rails 2.1
> When I call .report_table on an object I get the following error:
>
> ArgumentError: wrong number of arguments (1 for 0)
> from /usr/lib/ruby/gems/1.8/gems/acts_as_reportable-1.0.1/lib/
> ruport/acts_as_reportable.rb:376:in `attributes'
> from /usr/lib/ruby/gems/1.8/gems/acts_as_reportable-1.0.1/lib/
> ruport/acts_as_reportable.rb:376:in `get_attributes_with_options'
> from /usr/lib/ruby/gems/1.8/gems/acts_as_reportable-1.0.1/lib/
> ruport/acts_as_reportable.rb:294:in `reportable_data'
> from /usr/lib/ruby/gems/1.8/gems/acts_as_reportable-1.0.1/lib/
> ruport/acts_as_reportable.rb:167:in `report_table'
> from /usr/lib/ruby/gems/1.8/gems/acts_as_reportable-1.0.1/lib/
> ruport/acts_as_reportable.rb:167:in `map'
> from /usr/lib/ruby/gems/1.8/gems/acts_as_reportable-1.0.1/lib/
> ruport/acts_as_reportable.rb:167:in `report_table'
>
> Is this a known issue?
> I'll start having a look to see if I can work out what is wrong, but
> I'm pretty new to all this