search for: images_div_main

Displaying 2 results from an estimated 2 matches for "images_div_main".

2006 Feb 18
6
Why doesn''t my "action" take action?
...llowing 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 => ''get_reordered_images''}) %> <label for="num_images_requested">How many images?</label> <%= text_field_tag :numreq %> <%= submit_tag "Click to get 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