aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-08-15 19:08:25 -0300
committerGitHub <noreply@github.com>2016-08-15 19:08:25 -0300
commitce234237b580011acca600ede6eb422fcf8f4b45 (patch)
treeb2a24db738d381c46989a581723ba70f5b308087 /activerecord
parentc8d9a11df20c1ab238646012318ecb93ca3629d5 (diff)
parentbb4886684ec317961dd199f1889e1b229801a388 (diff)
downloadrails-ce234237b580011acca600ede6eb422fcf8f4b45.tar.gz
rails-ce234237b580011acca600ede6eb422fcf8f4b45.tar.bz2
rails-ce234237b580011acca600ede6eb422fcf8f4b45.zip
Merge pull request #26178 from claudiob/load-table-metadata
Eager autoload ActiveRecord::TableMetadata
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb
index fb7b8df01d..3b5dab16cb 100644
--- a/activerecord/lib/active_record.rb
+++ b/activerecord/lib/active_record.rb
@@ -68,7 +68,6 @@ module ActiveRecord
autoload :StatementCache
autoload :Store
autoload :Suppressor
- autoload :TableMetadata
autoload :Timestamp
autoload :Transactions
autoload :Translation
@@ -101,6 +100,7 @@ module ActiveRecord
end
autoload :Result
+ autoload :TableMetadata
end
module Coders