Created
May 1, 2012 23:26
-
-
Save jagmitg/2572338 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi, | |
In regards to our conversion on gtalk, im having some issues with a bad query leak on the show files. Im trying to use https://gist.github.com/2572312 this method before to combine some elements together with group_by. But there not even working for days which is working fine there. | |
The file above works perfectly well and thats what i would like to achieve, however, its not working on the show/, this is the code for show. | |
<h1>Listing shows</h1> | |
<ul> | |
<% @shows.each do |show| %> | |
<li><%= show.screening.film.title %> @ <%= show.screening.cinema.name %></li> | |
<li><%= show.day %></li> | |
<% end %> | |
</ul> | |
What this is doing is repeating the film title over and over again and the cinema name over and over again with a different date and time each time. Is it possible to combine film and cinema name together and have 5 different timings displayed with commas? | |
Thanks again for the help. | |
Kind Regards, | |
Jag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment