app/controllers/management/budgets/investments_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [139/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

      params.require(:budget_investment).permit(:title, :description, :external_url, :heading_id, :tag_list, :organization_name, :location)

Line is too long. [109/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

      notice = t('flash.actions.create.notice', resource_name: Budget::Investment.model_name.human, count: 1)

Line is too long. [104/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

      format.html { redirect_to management_budget_investments_path(heading_id: @investment.heading.id) }

Line is too long. [124/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

    @investments = @investments.apply_filters_and_search(@budget, params).order(cached_votes_up: :desc).for_render.limit(15)

There are no issues that match your filters.

Category
Status