Skip to content

Commit

Permalink
[#92] calling reload to ensure the adatper is re-evaluated
Browse files Browse the repository at this point in the history
  • Loading branch information
rpbaltazar committed Jul 16, 2020
1 parent a8c646b commit 73b6e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/apartment/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Railtie < Rails::Railtie

# Make sure Apartment is reconfigured when the code is reloaded
config.to_prepare do
Apartment::Tenant.reinitialize
Apartment::Tenant.reload!
end

#
Expand Down

0 comments on commit 73b6e10

Please sign in to comment.