Yeah, the lab has all ruby processing turned off. Safety first!

-hampton.

On Mon, Mar 10, 2008 at 7:12 AM, Davo <[EMAIL PROTECTED]> wrote:
>
>  Hi Mike,
>
>  That was just my pasting mistake into the message, because I tried it
>  with today's date as well as the tutorials date.
>  But I still think there is something wrong.
>
>  Regardless of the date, the output I get is:
>  <p>
>   Date/Time:
>   <strong></strong>
>  </p>
>
>  & Sorry the example is not from the tutorial page, but the Docs page
>
> http://haml.hamptoncatlin.com/docs/
>
>  Actually I think I know why it does not work - perhaps the Lab does
>  not process/render Ruby ?
>
>  cheers, Dave
>
>  On Mar 10, 7:58 pm, "Mikel Lindsaar" <[EMAIL PROTECTED]> wrote:
>
> > On Mon, Mar 10, 2008 at 8:33 PM, Davo <[EMAIL PROTECTED]> wrote:
>  > >  I'm working through the Haml Docs and this example does not seem to
>  > >  render as I expected ?
>  > >  %p
>  > >   Date/Time:
>  > >   - now = DateTime.now
>  > >   %strong= now
>  > >   - if now > DateTime.parse(""December 31, 2006"")
>  > >     = "Happy new " + "year!"
>  >
>  > >  It is from this page:
>  >
>  > You have two sets of quotes in the DateTime.parse line.
>  >
>  > Should be:
>  >
>  > DateTime.parse("December 31, 2006")
>  >
>  > not
>  >
>  > DateTime.parse(""December 31, 2006"")
>  >
>  > Mikelhttp://lindsaar.net/
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to