small medium large xlarge

Generic-user-small
03 Feb 2012, 19:36
Vikram Ramanathan (2 posts)

I am currently on Chapter 6, Task A. The task is to get the css applied to the products view. I have the application.css, scaffolds.css.scss and products.css.scss are in depot\app\assets\stylesheets directory. I have made sure the code that I have matches line by line to the one in the book and yet I don’t see the style sheet applied. Am I missing something ? Should I be pre-compiling all the assets before trying ?

Generic-user-small
03 Feb 2012, 21:13
farout (5 posts)

I ran into this problem - remove the comments in each of these files. And make sure that the body class tag is there in the application.html.erb file.

This post says the same thing: http://forums.pragprog.com/forums/148/topics/9591

Generic-user-small
04 Feb 2012, 20:30
Vikram Ramanathan (2 posts)

Thank You farout. Removing the comments from the css file did the trick. Any idea why the comment’s were causing the problem ?

You must be logged in to comment