Skip to content

Instantly share code, notes, and snippets.

@jasdeepsingh
Created December 13, 2013 18:24
Show Gist options
  • Save jasdeepsingh/7948827 to your computer and use it in GitHub Desktop.
Save jasdeepsingh/7948827 to your computer and use it in GitHub Desktop.
work_report bug
previous_work_report.visits.active.select('schedule_visits.id, schedule_visits.uuid').select_all.each do |v|
Schedule::SimpleVisit.verify_and_clone_with_schedule(self, v['id'].to_i, v['uuid'].to_i)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment