Skip to content

Instantly share code, notes, and snippets.

Avatar

Steve Kinney stevekinney

View GitHub Profile
@JoshCheek
JoshCheek / js.rb
Created Dec 2, 2015
Example of how JS async works for a student
View js.rb
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?
View 1409-assessment.md

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