Sha256: 963730e2435d07063c2c51804942795fdb1c588676db6dee3bbf3200837356b4

Contents?: true

Size: 482 Bytes

Versions: 8

Compression:

Stored size: 482 Bytes

Contents

#
# 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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activerecord-mlang-0.0.9 lib/tasks/mlang.rake
activerecord-mlang-0.0.8 lib/tasks/mlang.rake
activerecord-mlang-0.0.7 lib/tasks/mlang.rake
activerecord-mlang-0.0.6 lib/tasks/mlang.rake
activerecord-mlang-0.0.5 lib/tasks/mlang.rake
activerecord-mlang-0.0.4 lib/tasks/mlang.rake
activerecord-mlang-0.0.3 lib/tasks/mlang.rake
activerecord-mlang-0.0.2 lib/tasks/mlang.rake