`if @snippet.update_attributes(params[:project_snippet])`