diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2013-11-12 00:51:56 -0800 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2013-11-12 00:51:56 -0800 |
commit | 06c2b5bb5d3c205edd4d2fb47836b717ea37b577 (patch) | |
tree | 4540b9441b495b2819cd2c43973c7398f830f221 /activerecord/lib | |
parent | 98991a98398feae3988be72563c80f808a74ebeb (diff) | |
download | rails-06c2b5bb5d3c205edd4d2fb47836b717ea37b577.tar.gz rails-06c2b5bb5d3c205edd4d2fb47836b717ea37b577.tar.bz2 rails-06c2b5bb5d3c205edd4d2fb47836b717ea37b577.zip |
Drop a sqlite_version check because we only support SQLite 3.6.16 or newer.
Drop some comments that document the implementation rather than the interface.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 1 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index eecebdb4e5..adeb57d913 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -631,7 +631,6 @@ module ActiveRecord true end - # Returns true. def supports_explain? true end diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb index 35a579f29b..55fd20ec6a 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -141,14 +141,12 @@ module ActiveRecord 'SQLite' end - # Returns true def supports_ddl_transactions? true end - # Returns true if SQLite version is '3.6.8' or greater, false otherwise. def supports_savepoints? - sqlite_version >= '3.6.8' + true end # Returns true, since this connection adapter supports prepared statement @@ -162,7 +160,6 @@ module ActiveRecord true end - # Returns true. def supports_primary_key? #:nodoc: true end @@ -171,7 +168,6 @@ module ActiveRecord true end - # Returns true def supports_add_column? true end @@ -218,7 +214,6 @@ module ActiveRecord @connection.encoding.to_s end - # Returns true. def supports_explain? true end |