app/models/poll.rb in e9_polls-1.0.4 vs app/models/poll.rb in e9_polls-1.0.5
- old
+ new
@@ -1,6 +1,11 @@
class Poll < ::Renderable
include E9Polls::Model
+ include E9Rails::ActiveRecord::InheritableOptions
+
+ self.options_parameters = [
+ :header_text
+ ]
has_many :poll_answers
accepts_nested_attributes_for :poll_answers, :allow_destroy => true, :reject_if => :reject_answer?