search for: new_search

Displaying 3 results from an estimated 3 matches for "new_search".

Did you mean: ed_search
2006 Feb 18
4
Basic question: Where to initialize a flag?
...is set to the initialize value (even though I''m not calling the initialized action). Am I observing this clearly? I don''t think I should initialize a flag in the index file. So where? Specifically, I want to know if this action is a new search (if so, "reset" the $new_search flag). If not a new search, assign a value from one of the action parameters. I anticipate setting the $new_search flag to true in some other actions (such as clicking a New Search button). But the very first time my page displays, it is a "new search" and it appears the $new_search...
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 =>
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