fixed federation bug due to roxml missing underscore

This commit is contained in:
Jannik Streek 2014-03-27 01:50:02 +01:00
parent 9c24365fde
commit 7dcf11e629

View file

@ -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