diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-01-09 18:30:05 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-01-09 18:30:05 -0700 |
commit | d8f535eeacde4a8104f113648823122b0475206a (patch) | |
tree | 60b0a0703becc9e0e83ab7b386687eb35f2a3d97 /activerecord/lib/active_record/internal_metadata.rb | |
parent | 492d20398681f7d38adac5dc1d3cfb77079e8bcf (diff) | |
parent | 1a43e4c5228c1e0104b307feaaf527205c8a205e (diff) | |
download | rails-d8f535eeacde4a8104f113648823122b0475206a.tar.gz rails-d8f535eeacde4a8104f113648823122b0475206a.tar.bz2 rails-d8f535eeacde4a8104f113648823122b0475206a.zip |
Merge pull request #22992 from akshay-vishnoi/fix-docs
[ci skip] fix typo
Diffstat (limited to 'activerecord/lib/active_record/internal_metadata.rb')
-rw-r--r-- | activerecord/lib/active_record/internal_metadata.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/internal_metadata.rb b/activerecord/lib/active_record/internal_metadata.rb index 7bd66028b6..2e962f4218 100644 --- a/activerecord/lib/active_record/internal_metadata.rb +++ b/activerecord/lib/active_record/internal_metadata.rb @@ -30,7 +30,7 @@ module ActiveRecord ActiveSupport::Deprecation.silence { connection.table_exists?(table_name) } end - # Creates a internal metadata table with columns +key+ and +value+ + # Creates an internal metadata table with columns +key+ and +value+ def create_table unless table_exists? connection.create_table(table_name, primary_key: :key, id: false ) do |t| |