On Wed, Feb 23, 2011 at 4:37 PM, Dariusz S. <li...@ruby-forum.com> wrote:

> Here are the basic instructions I was given from my teacher to complete
> a website...
>
>
> Create a web page (.html.erb extension) that displays the following:
>
> Current time and date obtained from the Time object.
>
> An image of the sun if the time is between 6:00am and 6:00pm. An image
> of the moon if the time is between 6:00pm and 6:00am.
>
> The name of the current month.
>
> An image representing the current month.
>
>
> I've attached the controller and html.erb files that I was able to do so
> far. For some reason when I try to get the sun and moon to show up, i
> get an error message. Please help, thank you
>
> Post the error message, i guess it is unable to find the images as the
paths to the images are neither relative nor absolute.


> Attachments:
> http://www.ruby-forum.com/attachment/5951/Month.html.erb
> http://www.ruby-forum.com/attachment/5952/calendar_controller.rb
>
>
> --
> 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@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to