|
require 'active_fedora/railtie' if defined?(Rails) |
we autoload the railtie, injecting middleware into the ActionDispatch stack. this should really only happen if the users application wants it.
it seems like the more rails-y approach would be to generate this into application.rb?
whatever the case, it should be possible to remove the Railtie from an application without removing the entire gem.