ROR Mailers- Newby to Ruby needs help

Hi all

Im pretty new to Ruby on Rails. My boss created an app and is asking me to create a worker to email us when there is a conflict of events for a DJ. It works in the terminal but Im having problems getting the event details of the conflict to display in my mailer. Im trying to test it out with mail catcher to see if Im doing it correctly but I do not know what to pass for the overlaps parameter in my test. Below is my code. Can someone help me out?

My worker says this(PLEASE LOOK AT THE CAPS)

class TalentConflictsWorker

include Sidekiq::Worker

include Sidetiq::Schedulable

sidekiq_options retry: false


puts outputs to the server terminal window, you presumably want to add
it to the text of the email instead.