namespace :feedbin do
  desc "Promote user to admin status"
  task :make_admin, :email do |task, args|
    if args[:email]
      User.find_by_email(args[:email]).update(admin: true)
      puts "User with email #{args[:email]} is now an admin."
    else
      puts "Invalid command, use: rake feedbin:make_admin[email]"
      exit 1
    end
  end
end

Add rake task to promote users to admin
Add rake task to promote users to admin

Fix #398
