From 420c5d331d73ff61334525dcbd76e1985d9d9e88 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