Answer the question
In order to leave comments, you need to log in
How to work with css and js in Rails?
Good afternoon.
I'm just starting to learn the framework. Codecademy talks in detail about models and controllers, but the moment of adding css is omitted all the time. Do I understand correctly that I need to add, say, the a.css file to the app/assets folder , and then paste the code below into the desired view? <%= stylesheet_link_tag 'a' %>
Will Rails actually insert an include for this file after that and, most importantly, find it in the right folder?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question