rails3: fixes in notification policy setup_for
rails3: fixes in notification policy setup_for

Change-Id: Ib8738dd308bd159d7d7b60aa334577e011757c37
Reviewed-on: https://gerrit.instructure.com/29587
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Jon Willesen <eb5ce5e6a76c243326fecfa94534101600f87bd9@instructure.com>
Product-Review: Jon Willesen <eb5ce5e6a76c243326fecfa94534101600f87bd9@instructure.com>
QA-Review: Jon Willesen <eb5ce5e6a76c243326fecfa94534101600f87bd9@instructure.com>

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