going by <http://wiki.rubyonrails.org/rails/pages/
, I think that I have my table names in the schema
squared away, but I'm not convinced. For a many-to-many with
ThroughAssociations between tables foo and bar, is the join table
created named foo_bars by convention? If the table name is foo_bars,
then the corresponding model in app/models would be FooBar, is that
If FooBar is created by me, then, going by the comments in schema.rb,
a migration command was the correct way to create the schema.
I'm just not convinced that I'm following convention on this.
# This file is autogenerated. Instead of editing this file, please use
# migrations feature of ActiveRecord to incrementally modify your
# then regenerate this schema definition.
ActiveRecord::Schema.define(:version => 3) do
create_table "categories", :force => true do |t|
t.column "category", :string, :default => "NULL"
create_table "category_feeds", :force => true do |t|
t.column "category_id", :integer, :default => 0
t.column "feed_id", :integer, :default => 0
create_table "feeds", :force => true do |t|
t.column "feed", :string, :default => "NULL"