---
title: "Hassan Latif (@Hassan787) | Hashnode"
description: "Hassan Latif (@Hassan787) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Hassan787"
---

@Hassan787

# Hassan Latif

@Hassan787 · Joined June 2024

## Comments

[Approach 3 is not correct for production applications. As we know that production applications is multi threaded and handles multiple requests at a single time. So If I have used this approach for a model lets say User and lets say my piece of code is running for one thread and same model is being called from another call then its validations and callbacks will be skipped for the second call as well. This approach can work for single threaded applications but this is not thread safe approach.](https://hashnode.com/posts/how-to-skip-all-callbacks-for-all-models-in-rails/65388d84e8cbc7df1018d212/comment/667c8b746c98acbcc3d37e71)

Comment · Article · Jun 26, 2024 · [How to skip all callbacks for all models in Rails](https://hashnode.com/posts/how-to-skip-all-callbacks-for-all-models-in-rails/65388d84e8cbc7df1018d212)
