Sha256: a16c3ca3938a9446616886ba5e2c72a7849a027deeac1b51951193df1fdfa4bf

Contents?: true

Size: 368 Bytes

Versions: 51

Compression:

Stored size: 368 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

51 entries across 51 versions & 1 rubygems

Version Path
manage-1.4.3 lib/tasks/manage_tasks.rake
manage-1.4.2 lib/tasks/manage_tasks.rake
manage-1.4.1 lib/tasks/manage_tasks.rake
manage-1.4 lib/tasks/manage_tasks.rake
manage-1.3.52 lib/tasks/manage_tasks.rake
manage-1.3.51 lib/tasks/manage_tasks.rake
manage-1.3.50 lib/tasks/manage_tasks.rake
manage-1.3.49 lib/tasks/manage_tasks.rake
manage-1.3.48 lib/tasks/manage_tasks.rake
manage-1.3.47 lib/tasks/manage_tasks.rake
manage-1.3.46 lib/tasks/manage_tasks.rake
manage-1.3.45 lib/tasks/manage_tasks.rake
manage-1.3.44 lib/tasks/manage_tasks.rake
manage-1.3.43 lib/tasks/manage_tasks.rake
manage-1.3.42 lib/tasks/manage_tasks.rake
manage-1.3.40 lib/tasks/manage_tasks.rake
manage-1.3.39 lib/tasks/manage_tasks.rake
manage-1.3.38 lib/tasks/manage_tasks.rake
manage-1.3.37 lib/tasks/manage_tasks.rake
manage-1.3.36 lib/tasks/manage_tasks.rake