Skip to content

Instantly share code, notes, and snippets.

@devifr
Created March 15, 2019 10:45
Show Gist options
  • Select an option

  • Save devifr/c5aabb56e2e1a976f62e825cea250a9f to your computer and use it in GitHub Desktop.

Select an option

Save devifr/c5aabb56e2e1a976f62e825cea250a9f to your computer and use it in GitHub Desktop.
bila ada yg ga masuk
[769, 3,7,757,758,759,760,761,762,9,10,11,12,13,14,15,16,17,18,19,20,23,24,754,26,29,785,770,780,776,777,775,773,772,768,781,782,779,778,781,784,786,771,767,787,783,788].each do |id|
a = Work::FormItemValue.where(schedule_id: 65900, operator_id: 30, work_form_group_item_id: id).first.dup
a.operator_id = 28
a.save
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment