You've always been able to access the humanized version for the current value like this:
song = Song.new(:genre => 'pop')
song.humanized_genre # => 'Pop music'
You can now also retrieve the humanized version of any given value by passing it as an argument:
song.humanized_genre('rock') # => 'Rock music'
Posted by Henning Koch to makandra dev (2012-07-31 10:45)