Displaying 1 result from an estimated 1 matches for "thumbsupnc".
Did you mean:
thumbfunc
2008 Sep 07
1
remote_form_for, paths, and partials
...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
--
Posted via http://www.ruby-forum.com/....