Skip to content
  • Florian Staudacher's avatar
    add rake tasks for cleaning up mixed-case hashtags, · 472340e5
    Florian Staudacher authored
    fix querying tagged models, in case multiple tags are found
    ----
    the first rake task will attach all posts tagged with mixed-
    case hashtags to their lower-case variant
    
        $ bundle exec rake migrations:rewire_uppercase_hashtags
    
    the other rake task will remove the - now unused - mixed-case
    hashtags from the db
    
        $ bundle exec rake migrations:remove_uppercase_hashtags
    
    as always, perform a backup first! ;)
    472340e5