Displaying 2 results from an estimated 2 matches for "reviews_path".
2008 Sep 07
1
remote_form_for, paths, and partials
...>
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/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscr...
2010 Jan 08
1
problem using build with has_many :through relationship
...#39;<%= irb.id %>''>
<td><%=h irb.IRB %></td>
<td><%=h truncate(irb.Title, :length => 30) %></td>
<td><%=h irb.PI_Full_Name %></td>
<td><%= link_to ''Add IRB'', reviews_path, :id => irb.id,
:method => :post %></td>
</tr>
<% end %>
</table>
<%= will_paginate @irbs %>
Thank you for any advice or help with this.
John
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to...