Sha256: 8f458af8aefb2479cbbfd8b5cef3b75ae52e2219e98493117ee44a9e3063f1e2

Contents?: true

Size: 383 Bytes

Versions: 5

Compression:

Stored size: 383 Bytes

Contents

# desc "Explaining what the task does"
# task :manage do
#   # Task goes here
# end

namespace :manage do
  desc "Create the initial admin user for the interface"
  task :create_admin => :environment do
    user = Manage::AdminUser.create!(
      :email => "admin@admin.com", 
      :password => "11223344", 
      :password_confirmation => "11223344"
    )
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
manage-1.3.41 lib/tasks/manage_tasks.rake
manage-1.3.35 lib/tasks/manage_tasks.rake
manage-1.3.30 lib/tasks/manage_tasks.rake
manage-1.3.22 lib/tasks/manage_tasks.rake
manage-1.3.21 lib/tasks/manage_tasks.rake