<%= form_for(@get) do |f| %> <% if @get.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@get.errors.count, "error") %> prohibited this get from being saved:</h2> <ul> <% @get.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :home %><br> <%= f.text_field :home %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>