Displaying 2 results from an estimated 2 matches for "_get_reordered_images".
Did you mean:
get_reordered_images
2006 Feb 18
5
Model methods and partial view templates
I have a method in a controller that invokes a
render :partial => ''some_partial_view''
In that view, I''m trying to access a method defined in a model, like
this;
<% for view in @an_array %>
<% local_var = view.some_method() %>
<% another_var = view.a_column_name %>
etc..
I am getting an undefined method error but the model is accessible
2006 Feb 18
6
Why doesn''t my "action" take action?
I have the following code in my index.rhtml:
<div id="how_many_images" style="background-color:#eee;">
<%= render(:partial => ''form'') %></div>
...and the following in my _form.rhtml
<%= form_remote_tag(:update => "images_div_main",
:url => { :action =>