app/models/feedback.rb
# note -- this has NOTHING to do with the Comment class!
# This is just the name of the text field in the Feedback
# class which holds the user's comments.
- this has NOTHING to do with the Comment class.
This is just the name of the text field in the Feedback
class which holds the user's comments.
- this has NOTHING to do with the Comment class . This is just the name of the text field in the Feedback class which holds the user ' s comments .
def send_report
    return unless %w(staging production).include?(Rails.env)
    reporter = SupportReporter.new(
      title: summary,
      description: comment,
      category: category,
      email: email,
      user_agent: user_agent,
      site_revision: ArchiveConfig.REVISION.to_s
    )
    reporter.send_report!
  end
def send_report return unless %w( staging production ) . include? ( Rails . env ) reporter = SupportReporter . new ( title : summary , description : comment , category : category , email : email , user_agent : user_agent , site_revision : ArchiveConfig . REVISION . to_s ) reporter . send_report! end
note -- this has NOTHING to do with the Comment class!
note -- this has NOTHING to do with the Comment class!