app/models/permitted_params.rb
Method poll_attributes
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def poll_attributes
[
:agree_target,
:title,
:details,
Method poll_template_attributes
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def poll_template_attributes
[
:key,
:group_id,
:position,