changed put from resourceize() to underscore() to handle inflections properly