From 7dcf11e62923456a63a1128e73b3c92f8171a242 Mon Sep 17 00:00:00 2001 From: Jannik Streek Date: Thu, 27 Mar 2014 01:50:02 +0100 Subject: [PATCH] fixed federation bug due to roxml missing underscore --- app/models/poll_participation.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/poll_participation.rb b/app/models/poll_participation.rb index 3e1f7c368..5a5c472dd 100644 --- a/app/models/poll_participation.rb +++ b/app/models/poll_participation.rb @@ -9,6 +9,7 @@ class PollParticipation < ActiveRecord::Base belongs_to :author, :class_name => 'Person', :foreign_key => :author_id xml_attr :diaspora_handle xml_attr :poll_answer_guid + xml_convention :underscore validate :not_already_participated after_commit :update_vote_counter, :on => :create