Rails 3.1.0 - Asset pipeline

Hi, all :slight_smile:

Happy new year :slight_smile:

I referred to http://edgeguides.rubyonrails.org/asset_pipeline.html
for rails 3.1.0,

  1. it does say that assets related to the application (ie. need
    preprocessing) can live in the myapp/app/assets directory
  2. it does say that files which need no preprocessing can still live
    in the public/ directory.

I can access files places in the myapp/app/assets directory with no
problems but
how do I access my files in public? For example, public/images/rails-
logo.png?

When I access that path via the webbrowser, I get an error, 'No route
matches [GET] “/public/images/rails-logo.png” '.

thank you

Gordon

Found the answer: provided there is an ‘assets’ subdirectory in the
‘myapp/public’ directory, it will work and it does work :slight_smile:

Case closed :slight_smile:

Happy new year :slight_smile: