Skip to content
Browse files

Fix typo :bomb:

  • Loading branch information...
1 parent 3bdfece commit 83eccde1e2aeb925a670899d862572e960a76329 @rafaelfranca rafaelfranca committed
View
2 activerecord/lib/active_record/connection_adapters/connection_specification.rb
@@ -63,7 +63,7 @@ def resolve_hash_connection(spec) # :nodoc:
end
# For DATABASE_URL, accept a limited concept of ints and floats
- SIMPLE_INT = /\A\d+$\z/
+ SIMPLE_INT = /\A\d+\z/
SIMPLE_FLOAT = /\A\d+\.\d+\z/
def connection_url_to_hash(url) # :nodoc:

0 comments on commit 83eccde

Please sign in to comment.
Something went wrong with that request. Please try again.