Detect ActiveRecord instead of Rails. Do it after ActiveRecord for sure has been loaded.
Detect ActiveRecord instead of Rails. Do it after ActiveRecord for sure has been loaded.

kaspernj/active-record-streamer