Make 'User#groups' work correcty

The 'has_many :group_memberships' in 'Users' tries to use 'user_id' as the
foreign key, so we need to override it.