Patch #16002
closed
Assigned-to-my-group css corrupts user.groups association cache
Added by Massimo Rossello over 10 years ago.
Updated over 10 years ago.
Description
r12006 made for issue #12681 generated a corruption in association caches for using an assignment '=' instead of equality '=='.
Therefore
User.current.groups.map(&:id)
then returns an array of nils (most probably).
Attached the patch.
Regards,
Massimo
Files
- Status changed from New to Resolved
- Has duplicate Defect #16038: Issue#css_classes corrupts user.groups association cache added
- Status changed from Resolved to Closed
Also available in: Atom
PDF