Rails has added strict loading mode to prevent lazy loading
06-Mar-2020 2583
Rails 6.1 has added strict_loading mode to prevent lazy loading of associations. When the strict_loading mode is used, the associated records will have to be eager loaded using includes else a ActiveRecord::StrictLoadingViolationError will be raised.
Rails has added strict loading mode to prevent lazy loading #ruby #rubydeveloper #rubyonrails #Rails #added #strict #loading #prevent #loading https://rubyonrails.ba/link/rails-has-added-strict-loading-mode-to-prevent-lazy-loading