I tested this in a barebones project
rails new testingjs
–uncomment ruby race in gemfile
rails g scaffoled testingmodel value:integer
voila a rails app in which you can’t delete anything, all from autogenerated code. How would I go about fixing this so I can actually use css/js? I figure theres a file somewhere thats borked.
Also I don’t know much about rails “asset pipeline” but the JS/CSS files being served look like this
// This is a manifest file that’ll be compiled into application.js, which will include all the files
// listed below.
// It’s not advisable to add code directly here, but if you do, it’ll appear at the bottom of the
// the compiled file.
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT’S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//= require jquery
//= require jquery_ujs
//= require_tree .
Which seems wrong to me, I don’t think the client/browser should be seeing that file.