Sha256: 8cef469679a1bed1697b29ab9d2c0b6f062fe57035d04550ad69ab588f1253e0
Contents?: true
Size: 500 Bytes
Versions: 3
Compression:
Stored size: 500 Bytes
Contents
# == 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) # class Feedback < ActiveRecord::Base belongs_to :user validates_presence_of :user validates_presence_of :message def send_feedback Notifier.delay.send_website_msg(self.user.email,self.message) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pshq_engine-0.1.6 | app/models/feedback.rb |
pshq_engine-0.1.5 | app/models/feedback.rb |
pshq_engine-0.0.1 | app/models/feedback.rb |