14.2. Generic Forms

A form doesn't have to be hardwired to an ActiveRecord object. You can use the form_tag helper to create a form by youself. I use the example of http://guides.rubyonrails.org/form_helpers.html (which is the official Rails guide about forms) to show how to create a search form which is not connected to a model:
<%= form_tag("/search", method: "get") do %>
  <%= label_tag(:q, "Search for:") %>
  <%= text_field_tag(:q) %>
  <%= submit_tag("Search") %>
<% end %>
It results in this HTML code:
<form accept-charset="UTF-8" action="/search" method="get">
  <label for="q">Search for:</label>
  <input id="q" name="q" type="text" />
  <input name="commit" type="submit" value="Search" />
</form>
To handle this you'd have to create a new route in config/routes.rb and write a method in a controller to handle it.

Thank you for your support and the visibility by linking to this website on Twitter and Facebook. That helps a lot!