title: disabling direct SQL queries in rails
body: <p>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.</p>
  
  <p>This is because we run a lot of callbacks at activerecord to maintain integrity of data. </p>
  
  <p>How to implement this?</p>