8

Github Improve `strict_loading` violation error message by eileencodes · Pull Re...

 3 years ago
source link: https://github.com/rails/rails/pull/41114
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Member

eileencodes commented on Jan 14

If you're using strict_loading in an application the previous message
only told you what class was lazily loaded. This change updates the
error message to include both the class and the association name. This
is useful because now you won't need to lookup the association name in
the application, the error message will tell you exactly which symbol
preload is missing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK