I have an export CSV method which works fine. To this, I would like to add the associated model values in the same CSV file. def self.to_csv(subjects, headers,
I recently upgraded to Rails 6 with Ruby 3. I have this in a controller my_object = MyObject.new(my_object_params, @header) The object “initialize&rdquo