Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ab98c546f9
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (27 sloc) 1.288 kb
<html>
<head>
<title>Searchgasm Example</title>
<%= javascript_include_tag :all %>
<%= calendar_date_select_includes %>
</head>
<body>
<h1 style="font-size: 1.5em">Searchgasm example</h1>
This is a simple / plain example of how to implement Searchgasm into a rails application. As you can see it supports searching, ordering, and pagination all in one plugin. Here are some helpful links:<br />
<br />
<strong><a href="http://github.com/binarylogic/searchgasm_example">Source code for this example</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.binarylogic.com/2008/9/7/tutorial-pagination-ordering-and-searching-with-searchgasm">Tutorial on this example</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://github.com/binarylogic/searchgasm">Searchgasm source / repository</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://searchgasm.rubyforge.org">Searchgasm documentation</a></strong><br />
<br />
<% if controller_name == "users" %>
Non AJAX Example
<% else %>
<%= link_to "Non AJAX example", users_path %>
<% end %>
&nbsp;&nbsp;|&nbsp;&nbsp;
<% if controller_name == "orders" %>
AJAX Example
<% else %>
<%= link_to "AJAX example", orders_path %>
<% end %><br />
<br />
<%= yield %>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.