save method not updating in rails 2.0.1

I recently just updated to rails 2.0.1, and since all my .save methods dont seem to work, as if they are just skipped.

no errors are outputed, and no update sql statements are showing up in log file.

sample code im using...

def mark_answer     if(params[:id])       question = @current_user.questions.find(params[:id])

      if(question)         question.question_answer_id = params[:answer_id]         question.save

        notification = UserNotification.new(:user_id => question.question_answer.user.id)         notification.body = @current_user.login + " has marked your answer as the solution "         notification.save

      end

      redirect_to :action => 'show', :id => params[:id]     else       redirect_to "/404.html"     end   end

A new notification gets updated to DB, but nothing question isnt updated.

Any ideas?

I recently just updated to rails 2.0.1, and since all my .save methods dont seem to work, as if they are just skipped.

Try changing the save to save!. It should throw an exception about why
it can't save Fred

thanks for that, didnt know what save! did till now.

showed a problem with my validation.

cheers