#rails #ruby #postgresql #rspec

PostgresSQLでrake specするとNOTICEがいっぱいでるが大変参考になった。

NOTICE: CREATE TABLE will create implicit sequence “peroperos_id_seq” for serial column “peroperos.id” NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index “peroperos_pkey” for table “peroperos” ~略~

の警告をシャットダウンする方法です。