Let us say I have this helper method that checks if a person is on above average height or below height average base on model Person's attribute height and country. person_helper.rb
module PersonsHelper
  def height_status(country, height)
    if country == "jp"
      return "above height average" if height >= 170
      return "below height average"
    end
    ... 
  end
end
Will this be a good practice or I should make a derived attribute in model for this person.rb
class Person
  def height_status
    if country == "jp"
      return "above height average" if height >= 170
      return "below height average"
    end
  end
end
The usage is mainly for view so I am wondering if helper is the right practice?
 
    