Now I will make this change: User(has_many locations)--> Location(has_many timeframes; belongs to User)--> Timeframes(belong to location)