vendredi 21 avril 2017

lint error Useless assignment to variable

I have this if condition in model

if column = 'Y'
do this
else
do that
end

column is not a variable. I am using column value thats present in active record. why i am getting the lint error Useless assignment to variable - column

Aucun commentaire:

Enregistrer un commentaire