Investors & landlords

We actually didn't live in it any but didn't decide to rent it until May.  Previously I rented out a prior personal residence but was able to take a loss that first year even tho it was rented only part of a year.  Have the rules changed?  Will the losses be able to be carried over?

Thanks for your help!