In 1919 Rubí was connected to Barcelona and Terrassa by railway and the new, rich bourgeoisie built modernista-style buildings such as the Escoles Ribas and Torre Bassas.
The Celler Cooperatiu was built during the period of the Commonwealth of Catalonia and the dominance of the cooperativism in agriculture.
Since the 1990s, Rubí has been receiving a new wave of immigration from South America and North Africa.
The In-line hockey club, Cent Patins Rubí, was founded in 1992 during the Olympic Games in Barcelona.
The professional team has won the European Cup Championships 2009 and two national titles the seasons 2005/06 and 2008/09.
MotoE World Cup champion Jordi Torres was born in Rubí.
Line R7 serves Rubi's RENFE station and joins Martorell with Barcelona.