Bugs: Browse | Submit New | Admin

[#28658] ActionView::TemplateError (Expected kind of Outputter, got NilClass) on render partial

Date:
2010-10-20 10:05
Priority:
3
Submitted By:
Hugo Freire (tlmak0)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
ActionView::TemplateError (Expected kind of Outputter, got NilClass) on render partial

Detailed description
When render a partial form like:

<%= render :partial => "form", :locals => { :f => f } %>

this causes an error


{code}
ActionView::TemplateError (Expected kind of Outputter, got NilClass):
    In app/views/oauth_clients/_form.html.erb


    /var/lib/gems/1.9.1/gems/log4r-1.1.8/lib/log4r/logger.rb:120:in `each'
    /var/lib/gems/1.9.1/gems/log4r-1.1.8/lib/log4r/logger.rb:120:in `add'
    app/views/oauth_clients/new.html.erb:14:in `block in _run_erb_app47views47oauth_clients47new46html46erb'
    app/views/oauth_clients/new.html.erb:1
    <internal:prelude>:8:in `synchronize'
    /usr/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
    /usr/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
    /usr/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
{code}


I found this related issue:

http://dev.rubyonrails.org/ticket/3512

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item