I'm using a partial to render each row in a somewhat complex table (venues have many events and events have many attendees).
I have a method I'd like to use to determine the rowspan of each row dynamically depending on the number of attendees. I have the method, but I'm not sure where to house it to make it accessible to my partial... it didn't work in my helper file and I'm not entirely convinced that's where its supposed to go.
Any insight would be greatly appreciated.
Thank you!
I'm pretty sure your method should work from as a helper method. Have you verified that it is not being called?
Dropping a debugger in the method might help you track down what's going on. Maybe it's getting called and just not doing what you think it should be doing?
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments