Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8556743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:25:26+00:00 2026-06-11T15:25:26+00:00

I looked around on Stack Overflow and Agile Development with Rails but couldn’t find

  • 0

I looked around on Stack Overflow and Agile Development with Rails but couldn’t find anything that answered all the parts of this I need.

I just generated a Cow model in rails. Apparently, Rails uses an antiquated plural of cow ("kine"), so when I created that model, it built a Kine migration:

class CreateKine < ActiveRecord::Migration
  def change
    create_table :kine do |t|
      t.string :name
      t.string :farm
      t.string :breed

      t.timestamps
    end
  end
end

I know I could go into the model’s .rb file and set_table_name back to cow, but I’m worried about associated controllers. If I create a Cows controller, will it not sync up?

How do I get everything to be Cow/Cows?

This is one of my first apps, and I’m already way confused by managing controller-model associations, so this inflection issue doesn’t help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:25:27+00:00Added an answer on June 11, 2026 at 3:25 pm

    Create an inflection here is an example:

    config>initializers>inflections.rb

    ActiveSupport::Inflector.inflections do |inflect|
      inflect.irregular 'cow', 'cows'
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I looked around stack overflow and couldn't find a sample on what I needed.
I looked around and couldn't find it! Maybe I didn't look hard enough,but this
I've looked around Stack Overflow for an answer to this, but nowhere seems to
I looked around on Stack Overflow and I didn't find the solution of a
I've looked around on stack overflow for days and have not seen an answer
I looked around and found that there is an onerror function for flexigrid but
I've looked around but have yet to find a great solution the the following
I have looked around stackoverflow and search the internet but did not find a
I'm facing a weird problem. I looked around all over stackoverflow.com and elsewhere, but
i looked a bit around stackoverflow to find an answer for my question. All

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.