#26 ✓ resolved
geemus (Wesley Beary)

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

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Pages