Given this piece of Code:
class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.string :commenter
t.text :body
t.references :article, index: true
t.timestamps
end
end
end
I understand that CreateComments inherits methods from Migration. But what is Migration to ActiveRecord? Compared to other languages, I could not find any member named Migration in the ActiveRecord class. So what does the ::
mean? What do you call Migration in this case?