I hereby claim:
- I am jonathansimmons on github.
- I am jonathansimmons (https://keybase.io/jonathansimmons) on keybase.
- I have a public key ASBADkIP1dq9dlUDU38P4Dqhpp6HhHRMsrCCBUS8j7756Ao
To claim this, I am signing this object:
| scope ":username", :constraints => { :username => /[0-9A-Za-z\.]+/ }, :as => :user do | |
| match '/' => 'users#profile', as: :profile | |
| end | 
| Verifying that +jonathansimmons is my Bitcoin username. You can send me #bitcoin here: https://onename.io/jonathansimmons | 
| Rails.application.routes.draw do | |
| constraints subdomain: "admin" do | |
| devise_for :admins, skip: [:sessions] | |
| devise_scope :admin do | |
| get '/login' => 'admins/sessions#new', as: :new_admin_session | |
| post '/login' => 'admins/sessions#create', as: :admin_session | |
| get '/logout' => 'admins/sessions#destroy', as: :destroy_admin_session | |
| unauthenticated do | |
| devise_scope :admin do | 
| /* Not perfect but looks good considering slack limitations */ | |
| #2B2F3A,#1F232C,#1F232C,#DFE1E8,#4F5C65,#90A2B2,#A1C088,#C36069 | 
| jonathan@Jonathan 10days (develop) $ TEST_COUNT=50_000 derailed exec perf:ram_over_time | |
| Booting: production | |
| I, [2015-08-31T15:32:41.465564 #77437] INFO -- : Celluloid 0.17.1.2 is running in BACKPORTED mode. [ http://git.io/vJf3J ] | |
| tendays_production already exists | |
| Endpoint: "/" | |
| /Users/jonathan/.rvm/gems/ruby-2.2.2/gems/derailed_benchmarks-1.0.1/lib/derailed_benchmarks/tasks.rb:72: warning: already initialized constant DERAILED_APP | |
| /Users/jonathan/.rvm/gems/ruby-2.2.2/gems/derailed_benchmarks-1.0.1/lib/derailed_benchmarks/tasks.rb:23: warning: previous definition of DERAILED_APP was here | |
| PID: 77437 | |
| 136.36328125 | |
| 151.09375 | 
| jonathan@Jonathan 10days (develop) $ TEST_COUNT=10 derailed exec perf:objects | |
| Booting: production | |
| I, [2015-08-31T15:40:47.601331 #84274] INFO -- : Celluloid 0.17.1.2 is running in BACKPORTED mode. [ http://git.io/vJf3J ] | |
| tendays_production already exists | |
| Endpoint: "/" | |
| /Users/jonathan/.rvm/gems/ruby-2.2.2/gems/derailed_benchmarks-1.0.1/lib/derailed_benchmarks/tasks.rb:72: warning: already initialized constant DERAILED_APP | |
| /Users/jonathan/.rvm/gems/ruby-2.2.2/gems/derailed_benchmarks-1.0.1/lib/derailed_benchmarks/tasks.rb:23: warning: previous definition of DERAILED_APP was here | |
| Running 10 times | |
| Total allocated: 19015426 bytes (105609 objects) | |
| Total retained: 5759 bytes (27 objects) | 
| module WMUtility | |
| class Calculate | |
| # modified from http://stackoverflow.com/questions/4136248/how-to-generate-a-human-readable-time-range-using-ruby-on-rails#answer-4136485 | |
| def self.human_seconds(secs, options={}) | |
| options = { | |
| seconds: false, | |
| minutes: true, | |
| hours: true, | |
| days: true, | |
| }.merge(options) | 
I hereby claim:
To claim this, I am signing this object:
Facts:
Standard Check in Flow:
| -- Assessment - The actual test, it has_many pages | |
| -- page - A page of questions, has_many questions | |
| -- Question - the question the user is being asked, has_many_choices | |
| -- choice - The choice the user selected | |
| -- Instance - an object that represents the users results. It has_many answers | |
| -- answer - a join table to link the user's choice on a given question. belongs_to instance & choice | |
| WITH | |
| -- Page List | |
| page_list AS ( |