app/forms/decidim/votings/admin/ballot_style_form.rb in decidim-elections-0.26.10 vs app/forms/decidim/votings/admin/ballot_style_form.rb in decidim-elections-0.27.0.rc1
- old
+ new
@@ -9,10 +9,10 @@
attribute :question_ids, Array[Integer]
validates :code, presence: true
def code
- @code&.upcase
+ super&.upcase
end
end
end
end
end