Displaying 4 results from an estimated 4 matches for "img_url".
Did you mean:
image_url
2010 Jun 21
4
Unknown action No action responded to 2. Actions: show
...d. description %>
</p>
<p>
<b>Price: </b><%= @ad. price %>
</p>
<p>
<b>Seller Id: </b><%= @ad. seller_id %>
</p>
<p>
<b>Email: </b><%= @ad. email %>
</p>
<p>
<img src="<%= @ad.img_url %>"/>
</p>
</body>
</html>
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3Mboc...
2006 Aug 07
8
Syntax Problem
In an *.rhtml, why do I need to add <% for product in @products %> in
order that I may call an <img class="list-image" src="<%=
product.img_url %>"/>. Is there not another way to skip the "for
product" line? I really dont want to include it. I tried @products =
product but it does not work. Can anyone help shed light on this matter?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 21
2
Mouseover Speed Issues
I''m having severe speed issues on our server (localhost is lightening
fast!).
Here''s the call:
<img src= <%= @pics[col].img_url %> height=80 width=60 onMouseover="<%=
remote_function(:update => "diag_box", :url => { :action => :preview,
:tit => @pics[col].mname, :desc => @pics[col].description })%>;">
It''s an image, that when moused-over, it calls the function :pre...
2008 Jan 11
0
the parameter is nil ?
...===============
can''t convert nil into String
{"commit"=>"Create",
"authenticity_token"=>"ae9620b7a5388f218e783889095d1aa4249cfe30",
"comment"=>{"author"=>"222",
"desc"=>"2",
"img_url"=>"2"}}
=====================
how can I get the id from "new.rhtml" ''s URL and use it in create
action?
also attach my new.rhtml
================
<% form_for(@task) do |f| %>
<p>
<b>Author</b><br />
<%= f.text_field...