mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-29 11:41:00 -05:00
Actually delete Crop.random, don't just comment it out
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user