That certainly shouldn't be happening. Are you including a Haml partial
in your RHTML template before this error occurs?
I'll take a look at this this afternoon.
- Nathan
kleinman wrote:
> I've read in this group that the problem associated with nil.buffer
> and remote_form_for was corrected in stable 1.0.5.
> I've downloaded such and tried it out on our templates. here's my
> result:
>
> ----
> NoMethodError in User#welcome
>
> Showing app/views/friend/_invite_external.rhtml where line #2 raised:
>
> You have a nil object when you didn't expect it!
> The error occured while evaluating nil.buffer
>
> #{RAILS_ROOT}/vendor/plugins/stable/lib/haml/helpers/
> action_view_mods.rb:35:in `concat'
> /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/
> helpers/prototype_helper.rb:176:in `remote_form_for'
> #{RAILS_ROOT}/app/views/friend/_invite_external.rhtml:2:in
> `_run_rhtml_friend__invite_external'
> #{RAILS_ROOT}/app/views/user/new_welcome.rhtml:38:in
> `_run_rhtml_user_new_welcome'
> #{RAILS_ROOT}/app/controllers/user_controller.rb:393:in `welcome'
> /opt/local/bin/mongrel_rails:18
>
> -------
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---