added <Leader>rt mapping, updated r() function for rails 4