Hi Lea, I think you need to do something like:
<div class="table-plus"> <table ....> </table> </div> I'll investigate the Hash thing, we should add a test case for that :). Warm regards, Ignacio El 13-02-2015 a las 19:57, Lea Viljanen escribió: > Unfortunately <table class="table-plus"> doesn't give me the table-plus > look at all, it behaves exactly like <table>. > > On 9 February 2015 at 16:07, Henry Baragar > <[email protected] <mailto:[email protected]>> > wrote: > > 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] > <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. > > > > > -- > 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. -- 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.
