annual? perennial!=true

This commit is contained in:
Brenda Wallace
2017-11-06 23:15:08 +13:00
parent c5971cd46b
commit bf6475da57

View File

@@ -170,7 +170,7 @@ class Crop < ActiveRecord::Base
end
def annual?
!(perennial == true)
perennial != true
end
def interesting?