fix callbacks in ruby 2.0
fix callbacks in ruby 2.0

Change-Id: I49aa8b21eb6183a5b71b55e81e775bc0217d65f3
Reviewed-on: https://gerrit.instructure.com/26965
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Brian Palmer <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@instructure.com>
QA-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
Product-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

fronteerio/canvas-lms,HotChalk/canvas-lms,Jyaasa/canvas-lms,whalejasmine/canvas-lms,wye0220/shindig-canvas,va7map/canvas-lms,juoni/canvas-lms,wrdsb/canvas-lms,djbender/canvas-lms,shidao-fm/canvas-lms,antoniuslin/canvas-lms,efrj/canvas-lms,leftplusrightllc/canvas-lms,landonwilkins/canvas-lms,venturehive/canvas-lms,arrivu/hoodemo,djbender/canvas-lms,landonwilkins/canvas-lms,eCNAP/CANVAS,usmschuck/canvas,Rvor/canvas-lms,va7map/canvas-lms,arrivu/arrivu-lms,sfu/canvas-lms,SwinburneOnline/canvas-lms,tgroshon/canvas-lms,narigone/canvas,narigone/canvas,Jyaasa/canvas-lms,shidao-fm/canvas-lms,fronteerio/canvas-lms,instructure/canvas-lms,kyroskoh/canvas-lms,Unow/canvas-lms,va7map/canvas-lms,skmezanul/canvas-lms,instructure/canvas-lms,antoniuslin/canvas-lms,dgynn/canvas-lms,djbender/canvas-lms,kyroskoh/canvas-lms,jay3126/canvas-lms,arrivu/hoodemo,SwinburneOnline/canvas-lms,efrj/canvas-lms,arrivu/arrivu-lms,dgynn/canvas-lms,antoniuslin/canvas-lms,sdeleon28/canvas-lms,ShreniiNepal/shrenii_lmp,snehakachroo1/LSI_replica,whalejasmine/canvas-lms,redconfetti/canvas-lms,leftplusrightllc/canvas-lms,SwinburneOnline/canvas-lms,grahamb/canvas-lms,landonwilkins/canvas-lms,wye0220/shindig-canvas,usmschuck/canvas,redconfetti/canvas-lms,instructure/canvas-lms,shidao-fm/canvas-lms,dgynn/canvas-lms,dgynn/canvas-lms,eCNAP/CANVAS,matematikk-mooc/canvas-lms,va7map/canvas-lms,AndranikMarkosyan/lms,snehakachroo1/LSI_replica,whalejasmine/canvas-lms,roxolan/canvas-lms,instructure/canvas-lms,Rvor/canvas-lms,HotChalk/canvas-lms,juoni/canvas-lms,Unow/canvas-lms,efrj/canvas-lms,shidao-fm/canvas-lms,instructure/canvas-lms,utkarshx/canvas-lms,antoniuslin/canvas-lms,wrdsb/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,Rvor/canvas-lms,utkarshx/canvas-lms,narigone/canvas,samuels410/greatlakes-lms,samuels410/greatlakes-lms,greyhwndz/canvas-lms,AndranikMarkosyan/lms,greyhwndz/canvas-lms,ShreniiNepal/shrenii_lmp,matematikk-mooc/canvas-lms,roxolan/canvas-lms,arrivu/arrivu-lms,tgroshon/canvas-lms,SwinburneOnline/canvas-lms,grahamb/canvas-lms,Rvor/canvas-lms,jay3126/canvas-lms,sdeleon28/canvas-lms,wrdsb/canvas-lms,matematikk-mooc/canvas-lms,Jyaasa/canvas-lms,efrj/canvas-lms,grahamb/canvas-lms,AndranikMarkosyan/lms,wye0220/shindig-canvas,whalejasmine/canvas-lms,matematikk-mooc/canvas-lms,arrivu/hoodemo,fronteerio/canvas-lms,grahamb/canvas-lms,ShreniiNepal/shrenii_lmp,snehakachroo1/LSI_replica,kyroskoh/canvas-lms,utkarshx/canvas-lms,wrdsb/canvas-lms,jay3126/canvas-lms,tgroshon/canvas-lms,landonwilkins/canvas-lms,skmezanul/canvas-lms,skmezanul/canvas-lms,ShreniiNepal/shrenii_lmp,skmezanul/canvas-lms,sfu/canvas-lms,jay3126/canvas-lms,redconfetti/canvas-lms,instructure/canvas-lms,samuels410/greatlakes-lms,HotChalk/canvas-lms,sfu/canvas-lms,samuels410/greatlakes-lms,usmschuck/canvas,utkarshx/canvas-lms,Unow/canvas-lms,leftplusrightllc/canvas-lms,Jyaasa/canvas-lms,sfu/canvas-lms,redconfetti/canvas-lms,venturehive/canvas-lms,AndranikMarkosyan/lms,gbleydon/canvas-lms,roxolan/canvas-lms,tgroshon/canvas-lms,venturehive/canvas-lms,greyhwndz/canvas-lms,juoni/canvas-lms,sfu/canvas-lms,gbleydon/canvas-lms,eCNAP/CANVAS,venturehive/canvas-lms,fronteerio/canvas-lms,kyroskoh/canvas-lms,juoni/canvas-lms,eCNAP/CANVAS,instructure/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,leftplusrightllc/canvas-lms,sdeleon28/canvas-lms,narigone/canvas,sdeleon28/canvas-lms,gbleydon/canvas-lms,snehakachroo1/LSI_replica,usmschuck/canvas,greyhwndz/canvas-lms