3 ms·
We wrote our own linters that hooked into the `sql.active_record` event emitted by ActiveRecord when a query gets executed. See https://api.rubyonrails.org/cla
by arthurschreiber 5y ago
We wrote our own linters that hooked into the `sql.active_record` event emitted by ActiveRecord when a query gets executed.
See https://api.rubyonrails.org/classes/ActiveSupport/Notifications.html https://api.rubyonrails.org/classes/ActiveSupport/Notificati... for the API to subscribe to these notifications.