2015-10-22 3 views

ответ

4
articles = Repo.all(from a in assoc(current_user, :articles)) 

или поджать статьи в пользовательский

current_user = Repo.preload(current_user, [:articles]) 
current_user.articles 

 Смежные вопросы

  • Нет связанных вопросов^_^