Are you sure you're using Haml 3.0.18? This was a known bug with prior
versions, but it should be fixed in 3.0.18. You should check to make sure
you don't have any other Haml versions installed, and possibly explicitly
specify the version in your Gemfile.

On Mon, Aug 30, 2010 at 1:18 PM, Steve <[email protected]> wrote:

> I have an app that I just upgraded to rails 3.0.0 from rc2 and to Haml
> 3.0.18 (that uses Devise for authentication).  Prior to the upgrade,
> everything was working fine, but now I get:
>
> form_for outputs directly to the Haml template.
> Disregard its return value and use the - operator,
> or use capture_haml to get the value as a String.
>
> what I'm doing is
> - content_for :main_area do
>  = form_for(resource, :as => resource_name, :url =>
> session_path(resource_name)) do |f|
>    / contents of form omitted for brevity...
>
> = render 'devise/shared/session_layout'
>
> Is there a right way to embed a form_for inside a content_for in a
> haml view?
>
> --
> 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] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

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