Edited code to use latest changes to ActsAsTaggable gem