Fix undefined method attributes error in Taggable