Przemyslaw Kuznicki wrote: > Hi all, > > According to the documentation for the in_storage method in DBIx::Class::Row > http://search.cpan.org/~ribasushi/DBIx-Class/lib/DBIx/Class/Row.pm#in_storage > > in_storage method should "Returns: 1|0" > > In reality when row is not stored yet (e.g. returned by find_or_new method) > or has been deleted the value returned by in_storage is undef. > > Patch for DBIx/Class/Row.pm and tests attached. >
Applied with modifications http://dev.catalyst.perl.org/svnweb/bast/revision?rev=7861 Cheers _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
