Created
July 24, 2017 17:11
-
-
Save dcuadraq/6220693fc2692666919f452b4c4b94a3 to your computer and use it in GitHub Desktop.
Fix for Rails not reloading correctly for changes on controllers having Omniauthable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/application.rb | |
# Fix for Please add devise :omniauthable | |
initializer 'main_app.auto_load' do |app| | |
Rails.application.reloader.to_run(:before) do | |
Rails.application.reloader.prepare! | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment