model_name does not return a string but an object in the newest version of ActiveModel