FYI, I updated another application, and I had no problems with 3.0.18
On Aug 30, 2:52 pm, anywho <eydai...@gmail.com> wrote: > Confirmed still broken for 3.0.18. See below. > > Showing /Users/daniel/km/sio/trunk/app/views/user_sessions/ > new.html.haml where line #40 raised: > > 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. > Extracted source (around line #40): > > 37: = form.check_box :remember_me, :checked => 'checked' > 38: Keep me signed in<!-- for two weeks --> > 39: > 40: .col.new_features > 41: = raw Setting.get :new_features > > On Aug 30, 1:39 pm, Nathan Weizenbaum <nex...@gmail.com> wrote: > > > > > 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 <steven.cha...@gmail.com> 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 h...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>. > > > 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 h...@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.