The claim of the landlord for rent and advances, or for either, may be by him assigned; and the assignee shall be invested with all the landlord’s rights, and entitled to all his remedies for their enforcement.

(Code 1876, Β§3470; Code 1886, Β§3059; Code 1896, Β§2706; Code 1907, Β§4737; Code 1923, Β§8802; Code 1940, T. 31, Β§18.)