Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: adiakritos
My js replaces the elements on the dom with the correct code, however the new image doesn't render on the page. The file IS in the correct directory, and the paths match. When I reload the page the image will render.
Why is this happening and how can I fix it?
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
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.