Error while making a feedback form

hii

i am making a feedback form wherein data submittd doesnt get savd in
the database…

code for page controller is like…
class PagesController < ApplicationController
layout “pages”
def feedback
@feedback_a = feed.new(params[:feed])
if request.post? and @feedback_a.save
redirect_to :action => ‘home’, :id => params[:id]
end
end

i have generated a feed model for this also…

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