Skip to content


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
<title>Searchgasm Example</title>
<%= javascript_include_tag :all %>
<%= calendar_date_select_includes %>
<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="">Source code for this example</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="">Tutorial on this example</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="">Searchgasm source / repository</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="">Searchgasm documentation</a></strong><br />
<br />
<% if controller_name == "users" %>
Non AJAX Example
<% else %>
<%= link_to "Non AJAX example", users_path %>
<% end %>
<% if controller_name == "orders" %>
AJAX Example
<% else %>
<%= link_to "AJAX example", orders_path %>
<% end %><br />
<br />
<%= yield %>
Jump to Line
Something went wrong with that request. Please try again.