add rails_renderer, so we could use helper method in rails.