''Single Ladies (Put a Ring on It)'' was written by Beyonce, Terius ''The-Dream'' Nash, Thaddis ''Kuk'' Harrell, and Christopher ''Tricky'' Stewart, and was produced by Nash and Stewart. Beyonce recorded the song in May 2008 at the Boom Boom Room Studio in Burbank, California, and it was mixed by Jaycen Joshua and Dave Pensado, with assistance from Randy Urbanski and Andrew Wuepper. Nash conceptualized ''Single Ladies'' after Beyonce's secret marriage to hip hop recording artist Jay-Z in April 2008. Stewart commented that the song was ''the only public statement that (Beyonce and Jay-Z had) ever made about marriage'', and that while in the studio recording the song Beyonce had remained tightlipped, even to the point of removing her wedding band. Beyonce's marriage inspired Nash to compose a song about an issue that affected many people's relationships: the fear or unwillingness of men to commit. In an interview with Billboard magazine, Beyonce added that she was drawn to the song because of the universality of the topic, an issue that ''people are passionate about and want to talk about and debate''. She stated that although ''Single Ladies'' is a playful uptempo song, it addresses an issue that women experience every day.

was beyonce married when single ladies was released?
yes