I'm still not reproducing it... what's the content of new_welcome.rhtml ?

- Nathan

kleinman wrote:
> 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
> ------

--~--~---------~--~----~------------~-------~--~----~
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