You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: welcome_controller.rb
    path of file: ./repos/tomatoes/app/controllers
    
    the code of the file until where you have to start completion: class WelcomeController < ApplicationController
  layout 'welcome'

  before_action :new_tomat
    
  def index; end

  private

  def new_tomato
    @tomato = current_user.tomatoes.build
  end

  def daily_tomatoes
    @tomatoes ||= current_user.tomatoes.after(Time.zone.now.beginning_of_day).order_by([%i[created_at desc]])
  end

  def tomatoes_counters
    @tomatoes_count = current_user.tomatoes_counters
  end

  def daily_projects
    @projects = daily_tomatoes.collect(&:projects).flatten.uniq
  end
end