With polymorphic associations, one class can belong_to more than one type of another class. In other words, this is not polymorphism in the typical object-oriented sense of the word; rather, it is something unique to Rails.
For example, you might have a
Comment model that belongs to either
Timesheet model or
Here is a migration that will create the
class CreateComments < ActiveRecord::Migration