lib/hanami/model/migrator/adapter.rb in hanami-model-1.0.4 vs lib/hanami/model/migrator/adapter.rb in hanami-model-1.1.0.beta1
- old
+ new
@@ -121,13 +121,13 @@
end
# Returns a database connection
#
# Given a DB connection URI we can connect to a specific database or not, we need this when creating
- # or dropping a database. Important to notice that we can't always open a _global_ DB connection,
+ # or droping a database. Important to notice that we can't always open a _global_ DB connection,
# because most of the times application's DB user has no rights to do so.
#
- # @param global [Boolean] determine whether or not a connection should specify a database.
+ # @param global [Boolean] determine whether or not a connection should specify an database.
#
# @since 0.5.0
# @api private
def new_connection(global: false)
uri = global ? connection.global_uri : connection.uri