Skip to content

Commit 6df1f94

Browse files
committed
Using removed AS method starts_with? change to String#start_with?
1 parent 4ae744f commit 6df1f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arjdbc/sqlite3/adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def copy_table_indexes(from, to, rename = {})
432432
name = index.name
433433
# indexes sqlite creates for internal use start with `sqlite_` and
434434
# don't need to be copied
435-
next if name.starts_with?("sqlite_")
435+
next if name.start_with?("sqlite_")
436436
if to == "a#{from}"
437437
name = "t#{name}"
438438
elsif from == "a#{to}"

0 commit comments

Comments
 (0)