From 9c322d682f87a8934cb528e3fad825b37bb2eec2 Mon Sep 17 00:00:00 2001 From: ViditChitkara Date: Thu, 4 Jan 2018 18:45:39 +0530 Subject: [PATCH] fixed csv export bug --- app/models/registration.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/registration.rb b/app/models/registration.rb index 1198324e..45d2d55b 100644 --- a/app/models/registration.rb +++ b/app/models/registration.rb @@ -1,4 +1,5 @@ class Registration < ApplicationRecord + require 'csv' belongs_to :user belongs_to :conference