fix rails controller specs with undefined controller instance
Merge pull request #141 from razum2um/master

fix rails controller specs with undefined controller instance