From cf953bd853dd8e96d672517a991f6b7f35b3507c Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Wed, 5 Nov 2014 11:47:08 +0200 Subject: [PATCH] Remove old Lecture and Workshop models We won't be using STI anymore for the events --- app/models/lecture.rb | 3 --- app/models/workshop.rb | 3 --- 2 files changed, 6 deletions(-) delete mode 100644 app/models/lecture.rb delete mode 100644 app/models/workshop.rb diff --git a/app/models/lecture.rb b/app/models/lecture.rb deleted file mode 100644 index bdf971d..0000000 --- a/app/models/lecture.rb +++ /dev/null @@ -1,3 +0,0 @@ -class Lecture < Event - validates :length, numericality: {greater_than_or_equal_to: 40, less_than_or_equal_to: 45} -end diff --git a/app/models/workshop.rb b/app/models/workshop.rb deleted file mode 100644 index afe44aa..0000000 --- a/app/models/workshop.rb +++ /dev/null @@ -1,3 +0,0 @@ -class Workshop < Event - validates :length, numericality: {greater_than_or_equal_to: 30, less_than_or_equal_to: 120} -end