class MyRailtie < Rails::Railtie
# Customize the ORM
config.app_generators.orm :my_railtie_orm
# Add a to_prepare block which is executed once in production
# and before each request in development.
config.to_prepare do
MyRailtie.setup!
end
end
Gotta add this to rails plugin gems to get hot-reloading during development.
from a slack message (thanks @chevinbrown)
Gotta add this to rails plugin gems to get hot-reloading during development.