Submit form in database

Hi I created A folder book and created a database I create a
form I am running it it is not submitting data in database
can u tell me what is problem what should I chang
this is my new.rhtml file

<% form_for :classified do |f| %>

<%= f.text_field :title %>

<%= f.text_field :price %>





<%end%> and controller is an attechment it's urgent thanks

the form code looks ok.
maybe the problem is in the routing or the controller.
could be the model too, if you use validations that may fail.

does the action in the controller get called?
does it get the params with form data?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs