質問編集履歴

1

誤字修正

2021/01/27 11:36

投稿

yoshihiro.imai
yoshihiro.imai

スコア1

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  def show
24
24
 
25
- @project = Post.joins(:tasks).select('posts.*, tasks.*')
25
+ @project = Project.joins(:tasks).select('projects.*, tasks.*')
26
26
 
27
27
  @task = @project.where(tasks:{start_time:params[:id]})
28
28