any one know mebay application on head first rails…i am practicing
that one.
this application is all about displaying the list of adds to the
users.
see the above code to display the available ads on an index page …
but the list of names of ads not displaying when i run this
application
at “http://localhost:3000/ads” whats wrong …can anybody help me
pls…
are you able to see add by id and please
paste here you log file output or error in deatils
On Wed, Dec 1, 2010 at 1:02 PM, kiran [email protected] wrote:
(params[:id])
end
<% for ad in @ads %>
users.
To unsubscribe from this group, send email to
yes colin u r right…thank u…i am surprized to see it worked…a
simple slash made all the difference how would u figure out
this…anyway thanx…
I guess that it took the whole of the rest as the title, since the
title had not been closed. You would have seen the problem if you had
copied the complete html of the page (View, Page Source or similar in
the browser) and pasted it into the w3c htlm validator website. It
would have told you about the error.
A good tip when something apparently very strange like this is
happening is to look at the html source, you would then have seen that
there was something there that should have been displayed but was not,
this would have told you that it must be an error in the html rather
than any subtle rails issue.
Colin
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.