diff options
author | Jeremy Daer <jeremydaer@gmail.com> | 2016-04-11 14:31:08 -0700 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2016-04-11 14:31:08 -0700 |
commit | 1a5fdf77122e32fc710148ea3e795fedb597ad46 (patch) | |
tree | 66494467e90c156a9e24849f18708b44152e3272 /activerecord/lib/active_record/connection_adapters | |
parent | dbb2c2c7b5255eee75868835b0ebd2c36f6ff0cd (diff) | |
parent | ac027338e4a165273607dccee49a3d38bc836794 (diff) | |
download | rails-1a5fdf77122e32fc710148ea3e795fedb597ad46.tar.gz rails-1a5fdf77122e32fc710148ea3e795fedb597ad46.tar.bz2 rails-1a5fdf77122e32fc710148ea3e795fedb597ad46.zip |
Merge pull request #24492 from vipulnsward/pass-over-warnings
Clean up all Rails 5 warnings. Revert auto-added periods.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb index ca2a41b136..39e8492688 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb @@ -325,7 +325,7 @@ module ActiveRecord select_value("SELECT setval('#{quoted_sequence}', #{value})", 'SCHEMA') else - @logger.warn "#{table} has primary key #{pk} with no default sequence" if @logger + @logger.warn "#{table} has primary key #{pk} with no default sequence." if @logger end end end @@ -340,7 +340,7 @@ module ActiveRecord end if @logger && pk && !sequence - @logger.warn "#{table} has primary key #{pk} with no default sequence" + @logger.warn "#{table} has primary key #{pk} with no default sequence." end if pk && sequence |