# # copy from activerecord-session_store namespace 'db:mlang' do desc "Creates a langs migration for use with ActiveRecord::Mlang" task create: [:environment, 'db:load_config'] do require 'generators/active_record/mlang_migration_generator' ActiveRecord::Generators::MlangMigrationGenerator.task_create end # desc "Clear the langs table" # task clear: [:environment, 'db:load_config'] do # ActiveRecord::Generators::MlangMigrationGenerator.task_clear # end end