From a3e02a3e61bc409b7773cdabe37bead680f66f6f Mon Sep 17 00:00:00 2001 From: Skud Date: Wed, 15 Oct 2014 16:47:43 +0100 Subject: [PATCH] Actually delete Crop.random, don't just comment it out --- app/models/crop.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/models/crop.rb b/app/models/crop.rb index 3ae678a9e..f1d5dcc1d 100644 --- a/app/models/crop.rb +++ b/app/models/crop.rb @@ -33,11 +33,6 @@ class Crop < ActiveRecord::Base :message => 'is not a valid English Wikipedia URL' } -# def Crop.random -# @crop = Crop.offset(rand(Crop.count)).first -# return @crop -#aend - def to_s return name end