Class: Feedback
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Feedback
- 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_feedback ⇒ Object
21 22 23 |
# File 'app/models/feedback.rb', line 21 def send_feedback Notifier.delay.send_website_msg(self.user.email,self.) end |