Lea,

If it is just the look you want, have you tried <table class="table-plus">? I often do this.

Henry

On 07/02/15 02:04 PM, Lea Viljanen wrote:

With Rails 4.0.3 and Hobo 2.1.0 I had the following pieces of code:

EventController:

    ... collect...stuff...
   @statistics = Hash[ ...collected...stuff... ]
   hobo_show @statistics

View:
    ...
    <table-plus>
        <repeat with="&@statistics">
           ....
        </repeat>
    </table-plus>

It's not pretty, but this worked absolutely fine.

But now with Rails 4.0.13 and Hobo 2.1.1 I get a ActionView::Template::Error
      undefined method `method_defined?' for #<Event:0xb26e1d1c>
where the Event is the context model.

If I replace the <table-plus> with <table> it's error-free, but of course not how I want it to look.

The statistics hash is just a hash of arrays.

--
Lea 'LadyBug' Viljanen
[email protected] <mailto:[email protected]>
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

--
Henry Baragar
Instantiated Software Inc.
http://www.instantiated.ca

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

<<attachment: Henry_Baragar.vcf>>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to