# Remote\_form\_for, paths, and partials

**URL:** <https://www.ruby-forum.com/t/remote-form-for-paths-and-partials/147973>\
**Category:** Rails\
**Created:** [September 7, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/remote-form-for-paths-and-partials/147973 "2008-09-07T21:55:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arachnd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Post date:** [September 7, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/remote-form-for-paths-and-partials/147973/1 "2008-09-07T21:55:26Z")

</div>

hi,  
i’m having a little trouble rendering a partial that uses a  
remote\_form\_for and is in another controller.  
\<%= render :partial =\> “reviews/new”-%\>  
and in the partial i have only this, inside another controller  
\<% remote\_form\_for @review do |rv|-%\>  
\<%= rv.hidden\_field :value, :value =\> 1 -%\>  
\<%= rv.image\_submit\_tag “thumbsupnc.png” %\>  
\<% end -%\>  
the error that i’m getting is  
undefined method `reviews\_path’ for #ActionView::Base:0x4997dd0  
if i render the template from the reviews folder i get the same problem.  
any help would be appreciated

---

<div class="post-metadata">

**Author:** ![arachnd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Post date:** [November 4, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/remote-form-for-paths-and-partials/147973/2 "2008-11-04T21:19:04Z")

</div>

Daniel F. wrote:

> hi,  
> i’m having a little trouble rendering a partial that uses a  
> remote\_form\_for and is in another controller.  
> \<%= render :partial =\> “reviews/new”-%\>  
> and in the partial i have only this, inside another controller  
> \<% remote\_form\_for @review do |rv|-%\>  
> \<%= rv.hidden\_field :value, :value =\> 1 -%\>  
> \<%= rv.image\_submit\_tag “thumbsupnc.png” %\>  
> \<% end -%\>  
> the error that i’m getting is  
> undefined method `reviews\_path’ for #ActionView::Base:0x4997dd0  
> if i render the template from the reviews folder i get the same problem.  
> any help would be appreciated

hi!  
I have the same error and have no idea where the problem is. Has anyone  
found a solution? Thank you very much by advance.
