move helper methods to Utils to keep out of ActionView::Base scope