Commit graph

4 commits

Author SHA1 Message Date
Patrick Gansterer
ea2862fdef Run rubocop --fix-layout and remove encoding comments 2021-03-02 09:12:19 +01:00
Patrick Gansterer
44a198c7bc Adopt Rails 5 belongs_to_required_by_default 2020-09-05 14:40:11 +02:00
Patrick Gansterer
d75b881318 Set Poll.multi_select_count to default value in model if nil
Since multi_select_count depends on the type of poll, we can not require
its presence via validates_presence_of, but can use the default value.
2020-07-29 09:14:30 +02:00
Patrick Gansterer
d476993321 Add polls plugin 2020-02-24 14:27:22 +01:00