this will not work if you need to add post to current_teaching_assistant write current_teaching_assistant.posts << @new_post. and remove the previous two lines.