Rails thinks that the plural of cow is “kine”!?

DrTeeth:sandbox brandon$ script/generate scaffold cow name:string breed:string brand:string weight:float
      exists  app/models/
      exists  app/controllers/
      exists  app/helpers/
      create  app/views/kine
      exists  app/views/layouts/
      exists  test/functional/
      exists  test/unit/
      create  app/views/kine/index.html.erb
      create  app/views/kine/show.html.erb
      create  app/views/kine/new.html.erb
      create  app/views/kine/edit.html.erb
      create  app/views/layouts/kine.html.erb
      create  public/stylesheets/scaffold.css
  dependency  model
      exists    app/models/
      exists    test/unit/
      exists    test/fixtures/
      create    app/models/cow.rb
      create    test/unit/cow_test.rb
      create    test/fixtures/kine.yml
      exists    db/migrate
      create    db/migrate/007_create_kine.rb
      create  app/controllers/kine_controller.rb
      create  test/functional/kine_controller_test.rb
      create  app/helpers/kine_helper.rb
       route  map.resources :kine
DrTeeth:sandbox brandon$ 
Explore posts in the same categories: Random Nonsense

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: