Fixed: calling permit! on a generic hash raises a NoMethodError