> The problem is that even calls on MyApp::Schema::User ResultSets to > standard relationships defined via has_many trigger the execution of the > manually added ResultSource above - which of course fails with a > "called with x bind variables when y are needed" error message.
Correction: Calls to standard relationships DO work fine but I have custom methods in MyApp::Schema::User that use these relationships and they stop working: sub custom_relationship { my( $self ) = @_; return $self->some_relation( { field => 'value' } ) } I suppose at some point DBIC mixes up MyApp::Schema::User and MyResultSource (which is only an instance of MyApp::Schema::User and thus has all my custom methods, too). But I don't know how to fix this ... --Tobias _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/