Fix/question edit change type

I fixed this bug using http://api.rubyonrails.org/classes/ActiveRecord/Persistence.html#method-i-becomes-21