You have not defined an `active-view` variable. You probably want to initialise an `@active-view variable before you do this (basically your line 14 should occur before this).

Also, if it's not actually necessary... it shouldn't be there, especially on a pull request for the master branch.