Class: Feedback

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/feedback.rb

Overview

Schema Information

Table name: feedbacks

id         :integer          not null, primary key
user_id    :integer
message    :string(255)
in_trash   :boolean          default(FALSE)
created_at :datetime
updated_at :datetime
ancestry   :string(255)

Instance Method Summary collapse

Instance Method Details

#send_feedbackObject



21
22
23
# File 'app/models/feedback.rb', line 21

def send_feedback
  Notifier.delay.send_website_msg(self.user.email,self.message)
end