Better inject-regexp for rails3 projects