Luke Hamilton

1

votes
1

answer
42

views

Golang: reflect.DeepEqual returns unexpected false

I have the following code and code test below and for some reason the deepEqual is returning a false and failing the test. Now from reading the doco on this I would expect this to pass with a true for something so simple? Any points would be much appreciated. Thanks // customer.go type Customer stru...
Luke Hamilton
1

votes
1

answer
83

views

Docker-compose containers not talking to each other in osx land

Have been having an issue with my setup in docker-compose on osx where the containers can't talk to each other on there own docker network either set explicitly or just in the default config. Now I'm no docker expert but from all the readings I've done sounds like this should be working out of the b...
Luke Hamilton
6

votes
1

answer
3k

views

Rspec testing of counter_cache column's returning 0

For days now I have been trying to get to the bottom of what seam to be something that should be very easy to do... I am however still very new to the world of rails and ruby and I just cant work this one out... :p Anyway the problem I am having is that I have a number of :counter_cache columns in m...
Luke Hamilton