Actually delete Crop.random, don't just comment it out

This commit is contained in:
Skud
2014-10-15 16:47:43 +01:00
parent 75e076cef5
commit a3e02a3e61

View File

@@ -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