Viral Rails

Category Archives : Winners

Downloading the winners! -Video 10

On February 17, 2016, Posted by , In Winners, With No Comments

Table Of Contents Chris Oliver from Gorails.com shares How to download your winners Add an admin to your local machine AdminUser.create!(:email => ‘admin@prelaunchr.com’, :password => ‘changeme’, :password_confirmation => ‘changeme’) Navigate to localhost:3000/admin Now click on users Copy this code into your admin/users.rb file require ‘csv’ ActiveAdmin.register User do csv do…