Sha256: dc777cc5984dad2fcb477ba45339e2d6eb999b1dd8000c0cca6656813349115e

Contents?: true

Size: 617 Bytes

Versions: 10

Compression:

Stored size: 617 Bytes

Contents

# These rake tasks are to be run by MySql users only, they fix the management of
# binary-encoded strings for tag 'names'. Issues:
# https://github.com/mbleigh/acts-as-taggable-on/issues/623

namespace :make_taggable_engine do
  namespace :tag_names do
    desc "Forcing collate of tag names to utf8_bin"
    task collate_bin: [:environment] do |t, args|
      MakeTaggable::Configuration.apply_binary_collation(true)
    end

    desc "Forcing collate of tag names to utf8_general_ci"
    task collate_ci: [:environment] do |t, args|
      MakeTaggable::Configuration.apply_binary_collation(false)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
make_taggable-0.7.5 lib/tasks/tags_collate_utf8.rake
make_taggable-0.7.4 lib/tasks/tags_collate_utf8.rake
make_taggable-0.7.3 lib/tasks/tags_collate_utf8.rake
make_taggable-0.7.2 lib/tasks/tags_collate_utf8.rake
make_taggable-0.7.1 lib/tasks/tags_collate_utf8.rake
make_taggable-0.7.0 lib/tasks/tags_collate_utf8.rake
make_taggable-0.6.6 lib/tasks/tags_collate_utf8.rake
make_taggable-0.6.5 lib/tasks/tags_collate_utf8.rake
make_taggable-0.6.4 lib/tasks/tags_collate_utf8.rake
make_taggable-0.6.3 lib/tasks/tags_collate_utf8.rake