fix the rails generate model script