Ruby on Rails helper method that assigns attributes to the object based on properties in a .properties file