Undefined variable warning

Hi, I'm getting a warning of undefined variable for @slug_column in line 350, it's not been defined anywhere else, but in any case I'm keeping the variable and just changing the syntax. The same thing is happening in line 345, although, no warnings are triggered. Hope it helps, thanks for the gem!