INFINITY -数学とかプログラミングとか-

統計とプログラムを使って役に立たせたい

TeX用コマンド入力を支援するための辞書をご利用ください。
sanctuary's blogは,適当なことが書いてあります。

catalyst

my $row = $c->model('RemaindDB::Contents0')->create({
    content => $content
   });

とかやったときに、データベースにInsertされない。不思議。


原因がよくわからないが、下が気になる。

$ script/remaind_server.pl -r 

DBIx::Class::Schema::connection(): You provided explicit AutoCommit => 0 in your connection_info. This is almost universally a bad idea (see the footnotes of DBIx::Class::Storage::DBI for more info). If you still want to do this you can set $ENV{DBIC_UNSAFE_AUTOCOMMIT_OK} to disable this warning. at /home/th4/perl5/lib/perl5/Catalyst/Model/DBIC/Schema.pm line 488

いつから出てたのかわからない。