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]
--
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.