On Sat, Aug 29, 2009 at 1:47 PM, Jeffrey L. Taylor<[email protected]> wrote:
>> I know which one I'll pick :-)
>>
> <%= image_tag('rails.png')
True, that works with resources in RAILS_ROOT/public/images, but
it's important to understand how the image_tag references paths, to
e.g. an alternate location like RAILS_ROOT/public/photos.
Which would be problematic with the OP's confusion... :-)
--
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---