Displaying 3 results from an estimated 3 matches for "_searchresults".
Did you mean:
searchresults
2010 Oct 11
0
Converting observe_field to UJS in Rails 3
...ried in JQuery has failed, including this
one. Perhaps due to my lack of knowledge. I would not like to install
the legacy upgrade.
What I have in my website is several pages(models) which use the same
search text field. Each controller has an action "search" which
renders a partial "_searchresults" on the page with the text field.
The code which works well in Rails 2.3.5 along with one typical
example search action from a controller and the "_searchresults" is
shown below:-
In the searches index.heml.erb:-
***************************************...........
<p align=&qu...
2008 Feb 20
1
link_to weirdness, related to namespace?
Hi,
In my app/views/admin/clieint/_searchresults.rhtml partial, I have ...
<% for user in @users %>
<tr>
<td><%=h user.ship_to_first_name %></td>
<td><%=h user.ship_to_last_name %></td>
<td><%=h user.email %></td>
<td align="center"><%= link_to...
2010 Jan 08
1
problem using build with has_many :through relationship
...uot;
redirect_to new_project_path
end
end
def destroy
@review = Project.reviews.find(params[:id])
@review.destroy
flash[:notice] = "IRB Removed."
redirect_to new_project_path
end
end
Here''s the partial to which the "Add IRB" link is.
- _searchresults.html.erb -
<% content_for :head do %>
<%= stylesheet_link_tag ''dialog'' %>
<% end %>
<table class="searchResults">
<tr><th colspan="7">IRB Search Results</th></tr>
<tr>
<th>IRB ID...