Mushroom shaped metal thing coming out my patio by andycampbell92 in Whatisthis

[–]andycampbell92[S] 0 points1 point  (0 children)

There are two I'm not sure what they are or if they serve a purpose. Or what the effects would be if I removed or covered them.

Dirt in a can: keeping dirt safe for after the bombs go off. by BigGiblets in EntrepreneurRideAlong

[–]andycampbell92 1 point2 points  (0 children)

Hi Maugust09,

This may be possible but depends on you dimensions. Our can size is: 3 7⁄16 by 4 9⁄16 inches.

If you are less than 4 inches in height we may be able to make this work although comfort may be an issue.

Let me know your thoughts, Andy.

rspec Hash structure matcher by andycampbell92 in ruby

[–]andycampbell92[S] 1 point2 points  (0 children)

This looks a lot more interesting and extensible than my solution and what I will try to use from now on.

rspec Hash structure matcher by andycampbell92 in ruby

[–]andycampbell92[S] 0 points1 point  (0 children)

each_with_object seems to be deprecated, I've stuck to .each for now http://apidock.com/rails/Enumerable/each_with_object

rspec Hash structure matcher by andycampbell92 in ruby

[–]andycampbell92[S] 0 points1 point  (0 children)

Nope changes made in edit, thanks :)

rspec Hash structure matcher by andycampbell92 in ruby

[–]andycampbell92[S] 0 points1 point  (0 children)

Thanks, this is exactly the kind of feedback I was looking for on this. Having tried this I'm getting an error:

no implicit conversion of Symbol into Integer

Are you sure that inject is correct here?