Hi all.
I need directly access to the file.

Like this:

File.read(File.join(Rails.root,"public/stylesheets/head.css")) 

Because I use
https://github.com/mileszs/wicked_pdf/blob/master/lib/wicked_pdf_helper.rb

How can I get the real path name of file, where I use assets.
I need not assets_path. I need real file path on file system.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to