When scaffolding a model with Rails, you will get a migration file,
that looks something like this:
class CreateItems < ActiveRecord::Migration
create_table :items do |t|
My question is: Where is this method 'create_table' defined in Rails?
I was expecting to find it in the superclass ActiveRecord::Migration
which I think is defined in file .../lib/active_record/migration.rb
But I cannot find it there.
Anyone has a clue?