Fixes rails generate (w/ rails 3.2.11)