• Heinrich Lee Yu's avatar
    Fix various minor deprecations and changes · 0d28fa86
    Heinrich Lee Yu authored
    * Disable locking at the class-level for `update_all`
    
    * Fixes DEPRECATION WARNING: `ActiveRecord::Result#to_hash` has been
      renamed to `to_a`. `to_hash` is deprecated and will be removed in
      Rails 6.1.
    
    * Fix lookup of CE views
    
      `view_paths=` was removed so we just create a new LookupContext
      here instead of duplicating then modifying the paths
    
    * Fix some view related spec failures
    
    * Fix database configuration for connection pools
    
      ActiveRecord::Base.configurations now returns a
      ActiveRecord::DatabaseConfigurations object
    0d28fa86
active_record_preloader.rb 545 Bytes