Skip to content

Instantly share code, notes, and snippets.

View stevekinney's full-sized avatar

Steve Kinney stevekinney

View GitHub Profile
@JoshCheek
JoshCheek / js.rb
Created December 2, 2015 01:11
Example of how JS async works for a student
class JavaScript
def initialize
@work = []
@background_worker_count = 0
end
def run(&code)
@work << code
while @work.any? || @background_worker_count > 0
instance_eval &@work.shift if @work.any?

Module 4 Assessment

You will have the opportunity to do your final assessment in Ruby or JavaScript. You get to choose the language. The instructor will choose one or more from a set of available challenges. This is your final assessment, so it's expected that you should be able to handle anything from your time at Turing.

You will be expected to use TDD for all of the challenges below.

Ruby and Ruby on Rails

  • Implement advanced ActiveRecord query strategies using scopes and/or class methods
  • Implement a versioned API, complete with controller tests