Hmmm,
Just tried it:
- form_for(User.new) do |f| ...
but getting exactly the same stack trace.
no joy with
- form_for(:user, User.new, :url => { :action => 'create' } )
or any other variation, for that matter. Anyone got any ideas?
It appears that the output buffer on line 42 of the text_helper isn't
being initialized.
@mwesty: what have you read about it? I haven't been able to find
anything relevant.
On Jan 23, 6:45 pm, MWesty <[email protected]> wrote:
> I had a similar problem recently, also due to Rails 2.2.2. For the
> new action I needed to change the target object from "@user" to
> "User.new". Based on what I read it appears to be related to path
> resolution, not an object issue like you would first suspect.
>
> Mike
>
> On Jan 22, 9:03 am, tatyree <[email protected]> wrote:
>
> > Oh, yes, and it works fine if I convert it to an .erb template.
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---