Vote #78765
未完了udpate_all
ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
30
version_id:
0
issue_org_id:
26727
author_id:
306584
assigned_to_id:
0
comments:
2
status_id:
10
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
説明
/app/controllers/wiki_controller.rb
272 @page.children.each do |child|
273 child.update_attribute(:parent, reassign_to)
274 end
could use
@page.children.update_all(parent: reassign_to)
journals
Please post by patch.
--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> Please post by patch.
Please post by attachment patch file.
--------------------------------------------------------------------------------
いいね!0