improve Moose ResultSet example in SchemaProxy
authorRafael Kitover <rkitover@cpan.org>
Tue, 12 Jun 2012 16:24:05 +0000 (12:24 -0400)
committerRafael Kitover <rkitover@cpan.org>
Tue, 12 Jun 2012 16:24:05 +0000 (12:24 -0400)
commit81c30dcf4b206e920c84d182edd2088f4663e8a4
treecb48e498c9fc924cc36ebdbd15873535e3b94129
parent566a0bcace1f933a42a84e4b92782d78911acbba
improve Moose ResultSet example in SchemaProxy

The sub BUILDARGS { $_[2] } is essential for everything to work, and
users are likely to not know about it when using the Moose example as
is. It's been added to DBIx::Class documentation as well in master.
lib/Catalyst/TraitFor/Model/DBIC/Schema/SchemaProxy.pm