How should I setup assets in Rails 3.1 to be able to show images that're created on fly?

I had the same problem. I only found a work around by copying all my images into public/images and changed all the links to the new path That worked for me for the moment. I wait until somebody comes up with a better idea I hope that helps.

I had the same problem. I only found a work around by copying all my images into "public/images" and changed all the links to the new path. That worked for me for the moment.

I wait until somebody comes up with a better idea. I hope that helps.

If found solution. # In view I wrote file_name %> > # In controller I created GET action def image_get send_file params:filename, :disposition => 'inline', :type => 'image/png' end But you should care that file you're trying to send is in "#{Rails. Root}/public" directory otherwise send_file says it can't found the file.(May be it is not necessary in /public but in Rails.

Root anyway). To change this behavior it can be useful to read this topic Can I use send_file to send a file on a drive other than the Rails. Root drive?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions