Some addtl info.
Haml VERSION: 1.0.5 (verified)
Rails 1.1.6
Error snapshot:
----
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
Extracted source (around line #2):
1: <div id="invite_external" style="font-size: 10px;">
2: <% remote_form_for :invite, :url => {:controller=>
"friend", :action => "send_invite_external"} do |a_form| %>
3: Invite email: <%= a_form.text_field :email, :size => 30 %>
4: <%= submit_tag "Send" %>
5: <%= button_to_function "Cancel", "new
Ajax.Request('#{url_for :action => 'cancel_invite_external'}')" %>
Trace of template inclusion: /app/views/user/new_welcome.rhtml
RAILS_ROOT: /Users/martindufort/dev/projects/newdashboard/code/kakiweb/
config/..
Application Trace | Framework Trace | Full Trace
#{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:37:in
`_run_rhtml_user_new_welcome'
#{RAILS_ROOT}/app/controllers/user_controller.rb:393:in `welcome'
/opt/local/bin/mongrel_rails:18
------
On Feb 9, 8:18 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> Alright, I've checked this out, and I can't reproduce your error. Are
> you sure you're using Haml 1.0.5? You can check by looking at the
> VERSION file in the plugin directory.
>
> If you are, what version of Rails are you using? What code, exactly, is
> causing it to break?
>
> - Nathan
>
> kleinman wrote:
> > Correct, there is a Haml partial being included before this error.
>
> > On Feb 9, 11:15 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> >> 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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---