Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Nick's Profile

GitHub User: adiakritos

Comments by Nick


I keep getting this error. There is no unicorn.sock file in that dir so I'm guessing that it's just not getting created?

 "connect() to unix:/tmp/unicorn.sock failed (2: No such file or directory) while connecting to upstream"

The answer for me was to add

listen "/tmp/unicorn.sock"

to my unicorn.rb file.


at 8:07.. How would I return more than just the name of the object?

I need to supply several other attributes as well although I'm having a hard time finding a simple explanation for using .map to return other attributes as well.