[Jifty-commit] r5418 - in Net-Jifty: .
Jifty commits
jifty-commit at lists.jifty.org
Thu May 8 01:18:06 EDT 2008
Author: sartak
Date: Thu May 8 01:18:01 2008
New Revision: 5418
Modified:
Net-Jifty/ (props changed)
Net-Jifty/lib/Net/Jifty.pm
Log:
r55421 at onn: sartak | 2008-05-08 01:17:13 -0400
Whoops, %methods is a hash
Modified: Net-Jifty/lib/Net/Jifty.pm
==============================================================================
--- Net-Jifty/lib/Net/Jifty.pm (original)
+++ Net-Jifty/lib/Net/Jifty.pm Thu May 8 01:18:01 2008
@@ -1000,7 +1000,7 @@
my $self = shift;
my $model_spec = shift;
my @attributes;
- my @methods;
+ my %methods;
for my $column (keys %$model_spec) {
next if $column eq 'id'; # already taken care of
@@ -1034,7 +1034,7 @@
push @attributes, Moose::Meta::Attribute->new($column, %opts);
}
- return (\@attributes, \@methods);
+ return (\@attributes, \%methods);
}
my %types = (
More information about the Jifty-commit
mailing list