[Rails] Images in Agile Web Development with Rails
Craig Ambrose
craig at openwindows.com.au
Thu Dec 29 02:37:12 GMT 2005
The url would be images/filename.jpg, not public/images/filename.jpg. I
think that might be your problem.
Also, you might want to take a look at the file_column plugin. Details
are on the plugins page on the rails wiki.
Craig
Paul Jonathan Thompson wrote:
> Hi,
>
> I am working through Agile Web Development with Rails and I am at pg
> 69 second last paragraph says "put some images in the public/images
> directory......" how do you code the link that is stored in the data
> base I have tried http:public/images/name .jpg with no avail I have
> tried the fully qualified address http://home/../../../../name.jpg
> also with no luck. How should I code this?
>
> Thank you,
>
> Paul
More information about the Rails
mailing list