ruby-4-1 Modeling with hash