Error patching get_model() when ActiveRecord package not available