Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added missing docs for +supports_primary_key?+ on some adapters

  • Loading branch information...
commit e2656e07b9f9482f19f53054b72167b1bca2e6b7 1 parent 3d45964
@smartinez87 smartinez87 authored
View
1  activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
@@ -219,6 +219,7 @@ def supports_migrations? #:nodoc:
true
end
+ # Does MySQL support finding primary key on non-Active Record tables?
def supports_primary_key? #:nodoc:
true
end
View
1  activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
@@ -77,6 +77,7 @@ def supports_migrations? #:nodoc:
true
end
+ # Does SQLite support finding primary key on non-Active Record tables?
def supports_primary_key? #:nodoc:
true
end
Please sign in to comment.
Something went wrong with that request. Please try again.