small medium large xlarge

Generic-user-small
20 Dec 2011, 21:51
Allan Young (2 posts)

Hello.

In Chapter 6, we are asked to create “products.css.scss”. However, the application.html.erb layout file passes “application” to stylesheet_link_tag, and towards the end of the chapter, we’re told that “we added a application.css.scss stylesheet”.

Which is it?

-A

Generic-user-small
21 Dec 2011, 22:08
Allan Young (2 posts)

Disregard…I see that this gets automatically included by application.css.

Still, the text might want to indicate that we added “products.css.scss”, rather than “application.css.scss”.

Samr_small_pragsmall
24 Dec 2011, 15:49
Sam Ruby (634 posts)

Thanks for the errata, it will be fixed in the next update.

Generic-user-small
06 Jan 2015, 01:23
Taylor Lembi (1 post)

For 6.2

I am getting this error. Cant seem to figure out the issue

4) Error: ProductsControllerTest#test_should_show_product: ActionView::Template::Error: Invalid CSS after “”: expected selector or at-rule, was “<!DOCTYPE html>” (in /Users/Documents/ROR/depot/app/assets/stylesheets/application.css) app/views/layouts/application.html.erb:5:in _app_views_layouts_application_html_erb__3988312219343085771_70232291053760' test/controllers/products_controller_test.rb:36:in block in '

Generic-user-small
22 May 2017, 07:01
Daniel Boakye (1 post)

Am getting the same problem too.

You must be logged in to comment