In 2.4, the Haml #puts helper will be removed, for this very reason.

On Sat, Jul 11, 2009 at 9:05 AM, Bradley Grzesiak <[email protected]>wrote:

>
> It's annoying, but use Kernel.puts
>
> :brad
>
>
>
> On Jul 11, 2009, at 7:25, Stephen Bannasch <[email protected]
>  > wrote:
>
> >
> > Am using haml v2.2.0
> >
> > When I drop into the debugger in a view I can't use puts to inspect
> > variables anymore:
> >
> > (rdb:40) c1 = Portal::Clazz.find(:all)
> > (rdb:40) puts c1.to_yaml
> > DEPRECATION WARNING:
> > The Haml #puts helper is deprecated and will be removed in version
> > 2.4.
> > Use the #haml_concat helper instead.
> >
> > nil
> >
> >
> > >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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