> "include" is not defined
lib/my_controller_patch.rb (comment render line)
#render :partial => 'users/avatar', :layout => false
I fixed "[partialname].html.erb" and..
app/views/users/_avatar.html.erb (add "=" before form_tag)
<%= form_tag( { :action => 'save_avatar', :id => @user }, :multipart => true) do %>
cp app/views/users/_avatar.html.erb app/views/my/avatar.html.erb
> "include" is not defined
lib/my_ controller_ patch.rb (comment render line)
#render :partial => 'users/avatar', :layout => false
I fixed "[partialname] .html.erb" and..
app/views/ users/_ avatar. html.erb (add "=" before form_tag)
<%= form_tag( { :action => 'save_avatar', :id => @user }, :multipart => true) do %>
cp app/views/ users/_ avatar. html.erb app/views/ my/avatar. html.erb