Sha256: 1d4defcf6f6636fec26547399624d272d090dba66e749340c661092d622ff85e

Contents?: true

Size: 550 Bytes

Versions: 2

Compression:

Stored size: 550 Bytes

Contents

#
# Schemaless Tasks
#
#
# Guess this might be deleted and use only generators, or versa-vice.
#
namespace :schemaless do

  desc "Runs in wild mode!"
  task :run => :environment do
    Schemaless.sandbox = true if ARGV.join =~ /sandbox|print|safe/
    Rails.application.eager_load!
    Schemaless::Worker.run!
  end

  # Use rails generate schemaless:migrations
  # desc "Creates migrations!"
  # task :migration => :environment do
  #   Schemaless.sandbox = true if ARGV.join =~ /sandbox|print|safe/
  #   Schemaless::Worker.generate!
  # end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schemaless-0.0.5 lib/tasks/schemaless_tasks.rake
schemaless-0.0.3 lib/tasks/schemaless_tasks.rake