Results 1 to 6 of 6
Thread: vote.rjs doesn't seem to work
Jan 7, 2008, 12:43 #1
- Join Date
- Dec 2007
- 0 Post(s)
- 0 Thread(s)
vote.rjs doesn't seem to work
In ch. 7 of the Lenz book, my vote.rjs files looks the same as the downloaded book code but doesn't update the count in the browser nor show the highlight effect.
I'm using the latest Instant Rails which I think has a newer file system (.html.erb) so I also experimented with .js.rjs rather than just .rjs as per the book.
The first errors I solved by creating an empty vote.html.erb file in the views/story directory, but the effect and page count update still does not happen.
When I refresh the page 'F5' the count does show as increased.
Any help would be much appreciated!