0
json.votes answer, answer.votes.count
jet 0 is not a symbol nor a string
Compter en exception throw JBuilder
Grossistes json.votes answer, answer.votes.count.to_s
jet undefined method '0' for #<Answer:0x00000004699a98>
Y at-il question ici? S'il vous plaît lire http://stackoverflow.com/help/how-to-ask –