Class: AnimalSex

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/animal_sex.rb

Instance Method Summary collapse

Instance Method Details

#show_sex_label_methodObject

show the link in the admin UI instead of the link id


8
9
10
# File 'app/models/animal_sex.rb', line 8

def show_sex_label_method
  self.sex
end