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].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to