Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jonesdeini on github.
  • I am jonesdeini (https://keybase.io/jonesdeini) on keybase.
  • I have a public key ASAHv-QbrkitT-Oq3mWZPBctM9GSYHrpGpZgrq4XW9VTuQo

To claim this, I am signing this object:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDViPeiWIPNnu7JThYlivEZ72clDxa/bqFQKalf0Kjez8uR5q2VPGNy/wjuRyOUQCGFE7YjyM4ppBvpgugh5aHzzcC/w0fX1a5uYzt8GPAZrILFozKS1Mtp6fElbrijmDjEOre9lYNOIczY68BkzgKyTxyaeAh4M0fF6vzvpHmsDI+2vTMJGVX9C3rnLmXW7bCxAzzLkmZdl9OGrnEkg+VXFB+C+HYSFg/QSB5QluLKGHaX899BX4wuSX1Rp03xdaMBo5JXu/YLYTMuRY0kph7IjqBRdVxg8l3ydp9BjYp7GZ02COL1/MdAfw3l6KVcrGzqbmUavO/V+M/oQBm0UhdL [email protected]
require "minitest_helper"
describe "bro" do
let(:let_var) { puts "bro" }
def def_var
puts "bro"
end
class X
def initialize
puts "hey bro"
end
end
class Y < X
def initialize
super
end
class Parent
def mr_public
'public'
end
def access_other_protected(other)
other.mr_protected
end
def access_other_private(other)

I have 2 rails projects; one created using --skip-test-unit and one without.

Both projects are using minitest.

In the project created with --skip-test-unit everything works fine.

In the other project when I try to run all tests by pressing enter it doesnt run any tests. however when i save a file it runs the appropriate tests.

I don't think this is a problem with guard, but trying to dig into this and im not sure where to start.

col = "name"
val = "my_cool_name_bro"
new_program = Program.new
(new_program.send(col)) = val
table tr td input.site_start_date_picker {
float: none;
display: inline
}
table tr td input.site_end_date_picker {
float: none;
display: inline;
}
PGError: ERROR: invalid input syntax for integer: "--- !ruby/object:Commands::IdReference offset: 3 sequence: !ruby/object:Commands::IdSequence next_offset: 4 released_ids: [] table_name: user_identities " LINE 1: ...rships" WHERE ("memberships"."user_identity_id" = E'--- !rub... ^ : SELECT * FROM "memberships" WHERE ("memberships"."user_identity_id" = E'--- !ruby/object:Commands::IdReference offset: 3 sequence: !ruby/object:Commands::IdSequence next_offset: 4 released_ids: [] table_name: user_identities ' AND "memberships"."membershipable_id" = 27174) AND ( ("memberships"."type" = 'Ccce' ) ) /Users/rjones/.rvm/gems/ruby-1.9.2-p290@cpi2/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:219:in `rescue in log' /Users/rjones/.rvm/gems/ruby-1.9.2-p290@cpi2/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:202:in `log' /Users/rjones/.rvm/gems/ruby-1.9.2-p290@cpi2/gems/activerecord-2.3.5/lib/active_record/connection_adapters/postgresql_adapter.rb:550:i
We couldn’t find that file to show.