Quoting Hassan Schroeder <[email protected]>: > > On Sat, Aug 29, 2009 at 8:15 AM, Arne De > Herdt<[email protected]> wrote: > > > In Linux the . points to the root directory of he user, and not nescecarly > > to the root of the tree you're in. > > > > I could be mistaken though. > > Uh, well, since you mentioned it, yes, you are :-) > > In any case, it's trivial to test what the image_tag does with these > various references: > > <code> > <%= image_tag("images/rails.png") %> > > <%= image_tag("/images/rails.png") %> > > <%= image_tag("./images/rails.png") %> > </code> > > <source view> > <img alt="Rails" src="/images/images/rails.png"> > > <img alt="Rails" src="/images/rails.png?1250195549"> > > <img alt="Rails" src="/images/./images/rails.png"> > </source view> > > I know which one I'll pick :-) > <%= image_tag('rails.png')
;) Jeffrey --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

