Class methods needs to referenced with self
This should work
def self.report_profile(reported_by, reported, reason)
report = Reported.new
report.reported = reported
report.reported_by = reported_by
report.reason = reason
report.save
end