[Jifty-commit] jifty-dbi branch, master, updated. 0.60-21-g7a36051
Jifty commits
jifty-commit at lists.jifty.org
Thu Jun 10 16:58:56 EDT 2010
The branch, master has been updated
via 7a36051f0871c94159d77518b30ae29b358971e7 (commit)
from 1fda0dc97c5bdbbb769f19759b5f92b47392e1d8 (commit)
Summary of changes:
lib/Jifty/DBI/Record.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 7a36051f0871c94159d77518b30ae29b358971e7
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Thu Jun 10 16:58:36 2010 -0400
Include column_name in the value passed to reader warning
diff --git a/lib/Jifty/DBI/Record.pm b/lib/Jifty/DBI/Record.pm
index 581da1e..57178c3 100755
--- a/lib/Jifty/DBI/Record.pm
+++ b/lib/Jifty/DBI/Record.pm
@@ -291,7 +291,7 @@ sub _init_methods_for_column {
$subref = sub {
if ( @_ > 1 ) {
Carp::carp
- "Value passed to column accessor. You probably want to use the mutator.";
+ "Value passed to column $column_name accessor. You probably want to use the mutator.";
}
# This should be using _value, so we acl_check
# appropriately, except the acl checks often
@@ -313,7 +313,7 @@ sub _init_methods_for_column {
$subref = sub {
if ( @_ > 1 ) {
Carp::carp
- "Value passed to column accessor. You probably want to use the mutator.";
+ "Value passed to column $column_name accessor. You probably want to use the mutator.";
}
return ( $_[0]->_value($column_name) );
};
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list