diff --git a/app/controllers/public/conference_feedbacks_controller.rb b/app/controllers/public/conference_feedbacks_controller.rb index 00d3ddd..48a2bef 100644 --- a/app/controllers/public/conference_feedbacks_controller.rb +++ b/app/controllers/public/conference_feedbacks_controller.rb @@ -3,7 +3,7 @@ class Public::ConferenceFeedbacksController < Public::ApplicationController @conference = current_conference @unrated_events = @conference.events .joins(:proposition).approved - .joins('LEFT JOIN feedbacks ON feedbacks.feedback_receiving_id = events.id AND feedbacks.feedback_receiving_type = "Event"') + .joins('LEFT JOIN feedbacks ON feedbacks.feedback_receiving_id = events.id AND feedbacks.feedback_receiving_type = \'Event\'') .where('feedbacks.session_id != ? OR feedbacks.id IS NULL', session.id) @rated_events = @conference.events