Equivalent scrapbook

…scrap on Rails 3 1

mime types

# config/initializers/mime_types.rb

Mime::Type.register "application/vnd.ms-excel", :xls
#Mime::Type.register "application/pdf", :pdf    #should be already in rials

assets

ralis 3.1 is using gem sprockets for this

http://railscasts.com/episodes/279-understanding-the-asset-pipeline?autoplay=true

getting all assents paths

Rails.application.config.assets.paths

if you want to lead the assets one by one than call
localhost:3000/?debug_assets=1

//=require_tree 
//=require_tree ./public
//=require_directory