aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2019-04-11 22:43:45 +0200
committerXavier Noria <fxn@hashref.com>2019-04-11 23:10:13 +0200
commit7b6b10542d5dac2b50f2578143dc5d70120d1146 (patch)
tree97faab6b3ebdd667a068d8955ecfa8ffa392a589 /activerecord/lib/active_record/base.rb
parent23392eff9f8065475739e58232a5db97604f8056 (diff)
downloadrails-7b6b10542d5dac2b50f2578143dc5d70120d1146.tar.gz
rails-7b6b10542d5dac2b50f2578143dc5d70120d1146.tar.bz2
rails-7b6b10542d5dac2b50f2578143dc5d70120d1146.zip
improves the reloading disabled error message
The original message from Zeitwerk is "can't reload, please call loader.enable_reloading before setup (Zeitwerk::Error)", which is not very informative for Rails programmers. Rails should err with a message worded in terms of its interface.
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
0 files changed, 0 insertions, 0 deletions