ruby on rails - CSS not showing up in view -


i have created css file, home_page.css.scss, in app/assets/stylesheets, , added tag <% stylesheet_link_tag 'home_page.css' %> html.erb file, named index.html.erb.

when run rails server (after restarting css can compile) can see html content of page @ localhost:3000, css content no found.

the entire source code of rails app can viewed on github if helps:

https://github.com/adam-wanninger/tweet_down

what doing wrong?

here index.html.erb:

<!doctype html> <html>  <head>   <% stylesheet_link_tag 'home_page.css'  %>   <title>tweet down</title> </head>  <body>  <h1>tweet down</h1>  <p>tweet down ruby on rails app built me, adam wanninger. built tweet down basic (but stylish) twitter feed next years presidential candidates.</p>  <div>   <p id="dem_drop_down">democratic party candidates<br>     <select name="democrat_menu" onchange="window.document.location.href=this.options[this.selectedindex].value;" value="go">       <option selected="selected">bernie sanders</option>       <option value="year/1">hillary clinton</option>       <option value="year/2">michael jackson</option>     </select>   </p> </div>  <div>   <p id="rep_drop_down">republican party candidates<br>     <select name="republican_menu" onchange="window.document.location.href=this.options[this.selectedindex].value;" value="go">       <option selected="selected">ted cruz</option>       <option value="url">jeb bush</option>       <option value="url">jon stamos</option>     </select>   </p> </div>     </form>  </body>  </html> 

<% stylesheet_link_tag 'home_page.css'  %> 

is missing = @ beginning.

try

<%= stylesheet_link_tag 'home_page.css'  %> 

Comments