Add and apply Rails/PluckId rubocop rule

This commit is contained in:
Javi Martín
2021-08-09 22:32:00 +02:00
parent 8d47acc12b
commit 69dda19af7
10 changed files with 18 additions and 18 deletions

View File

@@ -44,7 +44,7 @@ module Budgets
def index
@investments = investments.page(params[:page]).per(PER_PAGE).for_render
@investment_ids = @investments.pluck(:id)
@investment_ids = @investments.ids
@investments_map_coordinates = MapLocation.where(investment: investments).map(&:json_data)
@tag_cloud = tag_cloud