RailsCasts Pro episodes are now free!

Learn more or hide this

Evan Machnic's Profile

GitHub User: emachnic

Site: http://broadmac.net

Comments by Evan Machnic


The 'images' folder is in the /app/assets directory. One thing to note though is that when Sprockets compiles, everything is then in a flat directory. From your stylesheets, you just need to call the url('image.jpg') and not url('../images/image.jpg'). If you have subdirectories in your images folder, you would do url('subdirectory/image.jpg') instead of url('../images/subdirectory/image.jpg').

Hope this helps anyone who is confused why their images aren't showing.