search for: volunteers_url

Displaying 1 result from an estimated 1 matches for "volunteers_url".

2009 Jan 21
4
Having troubles saving a new model
My model is being created but isn''t saving. It''s like it skips straight past saving. Any ideas why it might do this? Updating works fine. def create @volunteer = Volunteer.new(params[:volunteer]) @volunteer.save redirect_to(volunteers_url) end And here''s what the console reads upon create: Processing VolunteersController#create (for 127.0.0.1 at 2009-01-21 11:33:00) [POST] Parameters: {"commit"=>"Create", "volunteer"=>{"name"=>"test", "job_id"=>&q...