X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FInflateColumn.pm;h=27bde589e874ff8d0a9fa3139a2b6cc29b431d41;hb=7704dbc93be76967fd8b051a3f6b1df32a2467a3;hp=e10af303d9583ce7e8cf59d2da560f735b1536c2;hpb=b5ce6748f58040ca877fd05e8f004b14d46b2ba9;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/InflateColumn.pm b/lib/DBIx/Class/InflateColumn.pm index e10af30..27bde58 100644 --- a/lib/DBIx/Class/InflateColumn.pm +++ b/lib/DBIx/Class/InflateColumn.pm @@ -111,7 +111,7 @@ sub _inflated_column { is_literal_value($value) #that would be a not-yet-reloaded literal update ); - my $info = $self->column_info($col) + my $info = $self->result_source->column_info($col) or $self->throw_exception("No column info for $col"); return $value unless exists $info->{_inflate_info}; @@ -133,7 +133,7 @@ sub _deflated_column { is_literal_value($value) ); - my $info = $self->column_info($col) or + my $info = $self->result_source->column_info($col) or $self->throw_exception("No column info for $col"); return $value unless exists $info->{_inflate_info}; @@ -160,7 +160,7 @@ sub get_inflated_column { my ($self, $col) = @_; $self->throw_exception("$col is not an inflated column") - unless exists $self->column_info($col)->{_inflate_info}; + unless exists $self->result_source->column_info($col)->{_inflate_info}; # we take care of keeping things in sync return $self->{_inflated_column}{$col} @@ -233,19 +233,16 @@ sub store_inflated_column { =back -=head1 AUTHOR +=head1 FURTHER QUESTIONS? -Matt S. Trout +Check the list of L. -=head1 CONTRIBUTORS +=head1 COPYRIGHT AND LICENSE -Daniel Westermann-Clark (documentation) - -Jess Robinson - -=head1 LICENSE - -You may distribute this code under the same terms as Perl itself. +This module is free software L +by the L. You can +redistribute it and/or modify it under the same terms as the +L. =cut