Displaying 2 results from an estimated 2 matches for "classified_title".
2008 May 06
2
ActionController::InvalidAuthenticityToken in ClassifiedCon
...te/<%= @classified.id %>" method="POST">
<input id="_id" name="classified[id]" size="30"
type="hidden" value="<%= @classified.id %>" />
<p><b>Title</b><br>
<input id="classified_title" name="classified[title]" size="30"
type="text" value="<%= @classified.title %>" />
</p>
<p><b>Price</b><br>
<input id="classified_price" name="classified[price]"
size=...
2008 May 09
0
NoMethodError in ClassifiedController#update
...rb) dor category file
class Category < ActiveRecord::Base
has_many :classifieds
end
and this is edit.rhtml
<h1>Editing Classified: <%= @classified.title -%></h1>
<%= form_tag :action => ''update'', :id => @classified %>
<p><label for="classified_title">Title</label><br/>
<%= text_field ''classified'', ''title'' %></p>
<p><label for="classified_price">Price</label><br/>
<%= text_field ''classified'', ''price'' %>...