A ganging mechanism for releasably attaching a first object to a second object, comprising: a first part that is coupled to the first object, the first part including a movable portion that carries a first ganging member, the movable portion being positionable between a stowed position and an extended position; and a second part that is coupled to the second object, the second part including a receiver portion that receives the movable portion in the extended position, the second part including a second ganging member that is configured to couple to the first ganging member resulting in the first object being ganged to the second object, wherein: the first and second ganging members (300, 230) are releasably coupled to one another by magnetic attraction; the first and second parts comprise first and second legs (100, 200) which are mountable to the first and second objects (10, 20), respectively; the first and second objects (10, 20) comprise first and second tables and the legs (100, 300) are fixedly mounted to an underside of the respective tables (10, 20); characterised in that each leg includes an elongated body (102, 202) and a casting which extends outwardly from the elongated body and mounts to the underside of the respective table (10, 20), the elongated body being a hollow structure which is closed off at a top end with a top cap; and a top surface of the casting is higher than a top surface of the top cap so as to form a space above the top cap and adjacent the casting. a first part that is coupled to the first object, the first part including a movable portion that carries a first ganging member, the movable portion being positionable between a stowed position and an extended position; and a second part that is coupled to the second object, the second part including a receiver portion that receives the movable portion in the extended position, the second part including a second ganging member that is configured to couple to the first ganging member resulting in the first object being ganged to the second object, wherein: the first and second ganging members (300, 230) are releasably coupled to one another by magnetic attraction; the first and second parts comprise first and second legs (100, 200) which are mountable to the first and second objects (10, 20), respectively; the first and second objects (10, 20) comprise first and second tables and the legs (100, 300) are fixedly mounted to an underside of the respective tables (10, 20); characterised in that each leg includes an elongated body (102, 202) and a casting which extends outwardly from the elongated body and mounts to the underside of the respective table (10, 20), the elongated body being a hollow structure which is closed off at a top end with a top cap; and a top surface of the casting is higher than a top surface of the top cap so as to form a space above the top cap and adjacent the casting. the first and second ganging members (300, 230) are releasably coupled to one another by magnetic attraction; the first and second parts comprise first and second legs (100, 200) which are mountable to the first and second objects (10, 20), respectively; the first and second objects (10, 20) comprise first and second tables and the legs (100, 300) are fixedly mounted to an underside of the respective tables (10, 20); characterised in that each leg includes an elongated body (102, 202) and a casting which extends outwardly from the elongated body and mounts to the underside of the respective table (10, 20), the elongated body being a hollow structure which is closed off at a top end with a top cap; and a top surface of the casting is higher than a top surface of the top cap so as to form a space above the top cap and adjacent the casting.