demarches-normaliennes/app/models/feedback.rb

10 lines
152 B
Ruby
Raw Normal View History

2018-08-08 17:37:41 +02:00
class Feedback < ApplicationRecord
belongs_to :user
2018-08-27 12:59:22 +02:00
enum rating: {
happy: 'happy',
neutral: 'neutral',
unhappy: 'unhappy'
}
2018-08-08 17:37:41 +02:00
end