In my Ruby on Rails application, I have created a String array @dates from an HTML document. I would like to extract the first element of @dates containing "Week of", save it in a separate variable @cal, and print it in the view. Here is the controller method that would do this:In my Ruby on Rails application, I have created