MODEL:
class Listing < ActiveRecord::Base
serialize :details
validates_presence_of :name, :details
end
VIEW:
<% form_for(@listing) do |f| %>
<div class="text_field">
<%= f.label :name, "Name" %><br />
<%= f.text_field :name, :autocomplete => "off" %>
</div>
<!-- CUSTOM DETAILS HERE! -->
<% end %>