Skip to content

Instantly share code, notes, and snippets.

View cypherjones's full-sized avatar
:octocat:

AJ cypherjones

:octocat:
  • Jungle Scout
  • Austin, TX
View GitHub Profile
### Keybase proof
I hereby claim:
* I am cypherjones on github.
* I am xandon (https://keybase.io/xandon) on keybase.
* I have a public key ASAQSVYKv10g_Re-VhnUaKCn8iAtSGsq5HKYYD__eFpmHQo
To claim this, I am signing this object:
[
{
type: 'UPDATE',
id: 121,
value: 'foo',
key: 'bar',
created_at: '2020-07-07 00:00:00'
},
{
type: 'DELETE',
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="LB27CRVYW95SS">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDI93f/U0D65FtqrdkcKKXqs2Gc7M48vULav4KSIYYEywlKoZ6km5BS5gglH4eCH1ggBuOT849pwqCi7KbnofCgfZA8EcpwOK1leL/t9cAAq/hqk1hsOvX/+cbw9OrRDf8pgx853ZrkG0TxCBqss87jVcDz3pqnj5UdH+3EVl7rWwKz8bX/mkhPd/Xl/kt+DlZnrleLgeB7fEn9gKng0aOMWgkst6e1/oPQ6BIh8/IO/TspbfHNTAIHRnS0paefu8dBQpkSqcjNTp/amrH16UcFIOoUuKVSHHMq8FhPcx5e5u9atrm1oBRWuSImTDmDgk0YAGXlE9LO02P8is+3ZS++By/XD6bYrpMxfGZ7Ed0Qa+OKNCmv9rLGS35fm8midRaVvVpbeRdD+3nw8R3c+GEpTSEtbZwGGY5bGLuNjQqWZmxK32TEnog516136xigyoeky1F5ugIq8mYkkDA2j0FRvolBPwYQ7w+v0U5lfHDEghNtkbJgpYA/Ic2qghTZUFEMVSC8Kk68hsr8Rgq2X5ldbb6n1Nf6ET7LbXF5cZO1rezpiLkadUheDHdK0huUNpsdUae5/3TFp6xUoj/GMqK6qefQQBbWH6rw2W/0xWXqrFs9HO5D/gZwBHXAJTdQT3mds+/yvymoOSD+vqBS/hGM0lY0ToFd4fCxDiPDRO9ELw== aj@beefymarketing.com
<?php
/**
* Template Name: Share pop
*/
get_header();
$post_t_ids = array();
/*
1) VideosController POST search sets @results with an authenticated user
Failure/Error: expect(assigns(:results)).to eql([futurama])
expected: [#<Video id: 1, title: "Futurama", description: "Molestiae sit vel distinctio aliquam mollitia. Exc...", small_cover_url: nil, large_cover_url: nil, created_at: "2014-08-01 03:42:45", updated_at: "2014-08-01 03:42:45", category_id: nil>]
got: #<ActiveRecord::Relation [#<Video id: 1, title: "Futurama", description: "Molestiae sit vel distinctio aliquam mollitia. Exc...", small_cover_url: nil, large_cover_url: nil, created_at: "2014-08-01 03:42:45", updated_at: "2014-08-01 03:42:45", category_id: nil>]>
(compared using eql?)
Diff:
@cypherjones
cypherjones / gist:f07a3bc497a5001b9f06
Created June 17, 2014 04:02
rspec error: undefined method...
➜ myflix git:(mod0) ✗ rspec
..FFF
Failures:
1) Video
Failure/Error: it { should belongs_to(:category) }
NoMethodError:
undefined method `belongs_to' for #<RSpec::ExampleGroups::Video_2:0x000001068469d8>
# ./spec/models/video_spec.rb:4:in `block (2 levels) in <top (required)>'
rake aborted!
An error has occurred, this and all later migrations canceled:
PG::Error: ERROR: column "created_at" of relation "posts" already exists
: ALTER TABLE "posts" ADD COLUMN "created_at" timestamp/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in `exec'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in `block in execute'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:425:in `block in log'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:127:in `execute'