Skip to content

Instantly share code, notes, and snippets.

View radar's full-sized avatar

Ryan Bigg radar

View GitHub Profile

Keybase proof

I hereby claim:

  • I am radar on github.
  • I am ryanbigg ( on keybase.
  • I have a public key ASC-aRDIkJSCR3zgowwQoB5OZWdmqFoVWx5hTGyj_m2TPAo

To claim this, I am signing this object:

radar /
Last active August 7, 2018 02:20

JEP Exam Rubric

  • Gemfile entries
    • rubocop (under development)
    • rspec-rails (under development + test)
    • devise (outside of any group)
    • mongoid (outside of any group)
  • Generated Mongoid configuration present at config/mongoid.yml
  • Rubocop rules pass
  • db/seeds.rb
    • Creates a book
it 'has a method that will call the transaction class' do
bank.send(:make_deposit, 5);
def make_deposit(amount), 'deposit', amount);
radar / index.html.erb
Created June 15, 2018 05:26
Problematic code
<th>Created At</th>
<% @tickets.each do |ticket| %>
<td><a href="/ticket/<%= %>"><%= ticket.subject %></a></td>
radar / file1.txt
Created February 26, 2018 03:22
the description for this gist
String file contents
radar / file1.txt
Created February 26, 2018 03:19
the description for this gist
String file contents
radar / part 2?
Created February 5, 2018 04:02 — forked from anonymous/part 2?
discount= 0
require 'concurrent'
class Test
def update(time, value, reason)
puts "OMG"
puts 'testing . . .'
FactoryBot.define do
factory :property, aliases: [:current_prop] do
is_active "true"
factory :nowhereland do
name "NowhereLand"
property_code 'nwlnd'
address "123 Nowhere Lane"
city "Erewhon"
state "Oblivion"
radar / read.rb
Last active November 13, 2017 05:53 — forked from basicavisual/json-sample.json
class ApiRead
require 'open-uri'
require 'json'
attr_reader :data
def initialize(url)
# this goes fine
@data = JSON.parse(open(url).read)["data"]