Here is a link to a possible Rails bug-

http://rails.lighthouseapp.com/projects/8994/tickets/1455-activeresource-failed-with-rails-221#ticket-1455-8/

I don't remember if mine worked as an .erb template or not.  That's a
bit odd.

This guy had your same problems-

http://www.ruby-forum.com/topic/177640

You may want to check all your supporting gems and make sure they are
2.2.2 compatible.

On Feb 4, 12:37 pm, tatyree <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to