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
sample code im using…
question = @current_user.questions.find(params[:id])
if(question) question.question_answer_id = params[:answer_id] question.save notification = UserNotification.new(:user_id =>
notification.body = @current_user.login + " has marked your
answer as the solution "
end redirect_to :action => 'show', :id => params[:id] else redirect_to "/404.html" end
A new notification gets updated to DB, but nothing question isnt