Rails-2.0以éã«è¿½å ãããmigrationã®è¨æ³ã«ã¤ãã¦ã¾ã¨ãã¦ããã¾ãã t.<data_type> ã¨ããæ¸ãæ¹ãå¯è½ã«ãªã£ãã t.string :foo, :bar, :baz ã®ããã«ä½µè¨ãOK t.timestamps created_at, updated_atã追å t.references :foo 㧠foo_id ã追å ã:polymorphic => true ãªãã·ã§ã³ãã¤ããã¨ãfoo_typeã«ã©ã ã追å ãããã
{{#tags}}- {{label}}
{{/tags}}