new _call_action forces :default repo
Reported by geemus (Wesley Beary) | January 25th, 2009 @ 02:28 PM
The new wrapping of _call_action with a repository block to provide identity_map forces the usage of default repository on contained calls.
The general expectation would be that methods called without a context on a model that has self.default_repository_name set should call the method in the specified repository. This new block wrapper overrides this and calls everything in the default block.
As such it would be good to be able to specify which repository to wrap each controller and/or action with. Or at least be able to opt-out of this functionality at the application level.
Thanks for putting up with my weird edge cases, wes