This is an initial attempt at reducing the support burden of having 2 separate gems for measured behaviour, when we can easily have a single gem that (conditionally) loads a Railtie which does all Active Record registrations.
This allows the gem to work as a simple Ruby gem, as well as a Rails extension.
This PR copies all of the current behaviour of measured-rails into this gem and makes it load when ActiveRecord is loaded.
This is an initial attempt at reducing the support burden of having 2 separate gems for
measured
behaviour, when we can easily have a single gem that (conditionally) loads aRailtie
which does all Active Record registrations.This allows the gem to work as a simple Ruby gem, as well as a Rails extension.
This PR copies all of the current behaviour of
measured-rails
into this gem and makes it load whenActiveRecord
is loaded.