Put the CSS files in public/stylesheets and then use:
<%= stylesheet_link_tag "filename" %>
to link to the stylesheet in your layouts or erb files in your views.
Similarly you put images in public/images and javascript files in public/javascripts.
More Related Contents:
- How to prevent browser page caching in Rails
- ActiveRecord: size vs count
- OO Design in Rails: Where to put stuff
- Converting camel case to underscore case in ruby
- How to extract URL parameters from a URL with Ruby or Rails?
- ruby/ruby on rails memory leak detection
- How can I uninstall Ruby on ubuntu?
- How do I ‘validate’ on destroy in rails
- How do i work with two different databases in rails with active records?
- How to get a query string from a URL in Rails
- Using Rails Migration on different database than standard “production” or “development”
- Rails Console: reload! not reflecting changes in model files? What could be possible reason?
- How would you parse a url in Ruby to get the main domain?
- no such file to load — readline
- counter_cache with has_many :through
- Heroku not sending email with Gmail SMTP
- How can I specify a local gem in my Gemfile?
- How to set default values in Rails?
- What is the right way to override a setter method in Ruby on Rails?
- How do I use gems with Ubuntu?
- “gem install rails” fails with DNS error
- How can I solve this trouble to deploy a Rails App to Heroku?
- How to pass arguments into a Rake task with environment in Rails? [duplicate]
- Unpermitted Parameters adding new fields to Devise in rails 4.0
- OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server hello A
- Rails dot instead of slash in URL
- macOS, Rails: “Failed to build gem native extension”
- Rails app in a subdirectory
- RubyInstaller 2.2.1 and Rails – Rake cannot load Nokogiri
- Rails Object Relationships and JSON Rendering