Forum: Ruby on Rails Grabbing banners from other sites.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
(Guest)
on 2007-04-27 03:03
(Received via mailing list)
I want my banner ads to be rotated using ruby.

So I try this

<%= link_to_remote( image_tag("graphics/
select01.gif", :alt=>'Programming', :size=>'100x20', :border=>0),
                         :update => "select01_div",
                         :url =>{ :action => :select01_action }) %>

and it works. But this doesn't seem to work for me. Does ruby expect
images to be local even if we do http://?

<%= link_to_remote( image_tag(http://
globalwarmingawareness2007.org.uk /graphics/
select01.gif, :alt=>'Programming', :size=>'100x20', :border=>0),
                         :update => "select01_div",
                         :url =>{ :action => :select01_action }) %>
This topic is locked and can not be replied to.