diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-22 12:45:46 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-22 12:45:46 -0300 |
commit | e2656e07b9f9482f19f53054b72167b1bca2e6b7 (patch) | |
tree | b464930462fe144fc0bff39894c938432006c4e1 | |
parent | 3d459645c6c2a77b3ff219c22129ed1642f2e882 (diff) | |
download | rails-e2656e07b9f9482f19f53054b72167b1bca2e6b7.tar.gz rails-e2656e07b9f9482f19f53054b72167b1bca2e6b7.tar.bz2 rails-e2656e07b9f9482f19f53054b72167b1bca2e6b7.zip |
Added missing docs for +supports_primary_key?+ on some adapters
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 1 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index 551f6e23e5..e01419224b 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -219,6 +219,7 @@ module ActiveRecord true end + # Does MySQL support finding primary key on non-Active Record tables? def supports_primary_key? #:nodoc: true end diff --git a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb index 9fb537d949..5d2ebff9a7 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb @@ -77,6 +77,7 @@ module ActiveRecord true end + # Does SQLite support finding primary key on non-Active Record tables? def supports_primary_key? #:nodoc: true end |