diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-04-13 15:34:47 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-04-13 15:34:47 -0600 |
commit | 977be6d51eb0c1376337910f6de8c2efd39d62aa (patch) | |
tree | e17adc17f8729141acd7bd59252d848ec82331ee /activerecord/lib/active_record/connection_adapters | |
parent | aeffcf25b46da47a9d3b22b0bd9a9f4d98d5d7eb (diff) | |
parent | 1eb95899d479b89b240077fe90c58d19c9bc6972 (diff) | |
download | rails-977be6d51eb0c1376337910f6de8c2efd39d62aa.tar.gz rails-977be6d51eb0c1376337910f6de8c2efd39d62aa.tar.bz2 rails-977be6d51eb0c1376337910f6de8c2efd39d62aa.zip |
Merge pull request #24533 from vipulnsward/nodoc-version
:nodoc: version method.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb index 1797af4e97..330fb11895 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb @@ -77,7 +77,7 @@ module ActiveRecord } end - def version + def version #:nodoc: @version ||= Version.new(full_version.match(/^\d+\.\d+\.\d+/)[0]) end |