demarches-normaliennes/app/models/feedback.rb
2018-08-27 17:03:11 +02:00

9 lines
152 B
Ruby

class Feedback < ApplicationRecord
belongs_to :user
enum rating: {
happy: 'happy',
neutral: 'neutral',
unhappy: 'unhappy'
}
end