loomio/loomio

View on GitHub
app/controllers/dev/polls_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method create_activity_items has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def create_activity_items(discussion: , actor: )
    # create poll
    options = {poll: %w[apple turnip peach],
               count: %w[yes no],
               proposal: %w[agree disagree abstain block],
Severity: Minor
Found in app/controllers/dev/polls_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status