class Name

“Historical” names. “In year 2007, Team name was Safeway.” People and Teams can have Names. Used on results pages. Created by Person or Team for new Result in new year and name changes from previous year. Used to handle Person name changes after marriages, as well. See Names::Nameable.

Public Instance Methods

date=(value) click to toggle source
# File app/models/name.rb, line 13
def date=(value)
  self.year = value.year
end
to_s() click to toggle source
# File app/models/name.rb, line 17
def to_s
  "#<Name #{name} #{year} #{nameable_type} #{nameable_id}>"
end