fixed bug associated with "rails generate new:model ..."