Skip to content

Commit

Permalink
Remvoe block variable
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 8, 2025
1 parent 5edc9ed commit 1f9eb24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ services:
environment:
POSTGRES_USER: rom-sql
POSTGRES_PASSWORD: password
POSTGRES_DB: rom-sql
POSTGRES_DB: rom_sql
2 changes: 1 addition & 1 deletion lib/rom/sql/relation/reading.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ def __join__(type, other, join_cond = EMPTY_HASH, opts = EMPTY_HASH, &)
elsif other.is_a?(::Sequel::SQL::AliasedExpression)
new(dataset.__send__(type, other, join_cond, opts, &))
elsif other.respond_to?(:name) && other.name.is_a?(Relation::Name)
if block
if block_given?
join_cond = JoinDSL.new(schema).(&)

if other.name.aliaz
Expand Down

0 comments on commit 1f9eb24

Please sign in to comment.