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.
cowascows.