Are you sure that when we write current_lecturer.posts that we will find that post ? , if no please set the relation like current_lecturer.posts << @new_post