Vote #77708
完了Don't preload projects and roles on Principal#memberships association
0%
説明
Why it should preload project and roles by default? it is not used over the redmine much, and somewhare it is not good to preloading those associations.
journals
No reason for preload in membership(...)
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Patch committed, thanks. FTR, the proposed patch was not working as expected and broke a few tests, @#roles@ has to be called explicitly (using @self.roles@) due to a variable naming clash in @#allowed_to?@.
--------------------------------------------------------------------------------