We are running a rails+mysql application. In my specific requirement I want all my developers to access mysql only throught the rails API. I want to disable all direct mysql queries outside ActiveRecord.
This is because we run a lot of callbacks at activerecord to maintain integrity of data.
How to implement this?