Skip to content

Commit 1f9eb24

Browse files
committed
Remvoe block variable
1 parent 5edc9ed commit 1f9eb24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ services:
1818
environment:
1919
POSTGRES_USER: rom-sql
2020
POSTGRES_PASSWORD: password
21-
POSTGRES_DB: rom-sql
21+
POSTGRES_DB: rom_sql

lib/rom/sql/relation/reading.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ def __join__(type, other, join_cond = EMPTY_HASH, opts = EMPTY_HASH, &)
11071107
elsif other.is_a?(::Sequel::SQL::AliasedExpression)
11081108
new(dataset.__send__(type, other, join_cond, opts, &))
11091109
elsif other.respond_to?(:name) && other.name.is_a?(Relation::Name)
1110-
if block
1110+
if block_given?
11111111
join_cond = JoinDSL.new(schema).(&)
11121112

11131113
if other.name.aliaz

0 commit comments

Comments
 (0)