Actions
Patch #26727
closedudpate_all
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
/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)
Actions