On Aug 15, 2:54 pm, shusseina <[email protected]> wrote:
> I'm a Rails newby and I'm in the process of creating my first Rails
> app - a knock-off of IMDb, albeit a 'nano' version of it.
>
> When displaying the details of a movie I would like to show the
> movie's (DVD) cover art.
Why is the image "the_godfather.jpg" not being displayed, considering
the following show view template? Or even when I include the full
absolute path?
<p>
<%= "#[email protected]}. #[email protected]}" %>
</p>
<p>
<%= "Director: #[email protected]}" %>
</p>
<p>
<%= "Release Date: #[email protected]_date.to_date.to_formatted_s
(:long_ordinal)}" %>
</p>
<p>
<%= "Plot: #[email protected]}" %>
</p>
<img src="public/images/the_godfather.jpg" />
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---