Sha256: 6678103aa537ed7e1cc58f21c952189df0935ac271d89459ee8c17dec4e96f02

Contents?: true

Size: 255 Bytes

Versions: 12

Compression:

Stored size: 255 Bytes

Contents

# desc "Explaining what the task does"
# task :model_discovery do
#   # Task goes here
# end
namespace :model_discovery do
  desc "Re-Sync models"
  task :sync => :environment do
    require 'model_discovery'
    ModelDiscovery.build_table_list
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
model_discovery-0.3.8 lib/tasks/model_discovery_tasks.rake
model_discovery-0.3.7 lib/tasks/model_discovery_tasks.rake
model_discovery-0.3.6 lib/tasks/model_discovery_tasks.rake
model_discovery-0.3.5 lib/tasks/model_discovery_tasks.rake
model_discovery-0.3.4 lib/tasks/model_discovery_tasks.rake
model_discovery-0.3.3 lib/tasks/model_discovery_tasks.rake
model_discovery-0.3.2 lib/tasks/model_discovery_tasks.rake
model_discovery-0.3.1 lib/tasks/model_discovery_tasks.rake
model_discovery-0.3.0 lib/tasks/model_discovery_tasks.rake
model_discovery-0.2.4 lib/tasks/model_discovery_tasks.rake
model_discovery-0.2.3 lib/tasks/model_discovery_tasks.rake
model_discovery-0.2.2 lib/tasks/model_discovery_tasks.rake