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.
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.
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?
Thanks!
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?
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.