converge three lines into one
This commit is contained in:
parent
070dda28ae
commit
aeafc09921
@ -934,9 +934,7 @@ def build_joins(manager, joins)
|
||||
association_joins = buckets[:association_join] || []
|
||||
stashed_association_joins = buckets[:stashed_join] || []
|
||||
join_nodes = (buckets[:join_node] || []).uniq
|
||||
string_joins = (buckets[:string_join] || []).map { |x|
|
||||
x.strip
|
||||
}.uniq
|
||||
string_joins = (buckets[:string_join] || []).map { |x| x.strip }.uniq
|
||||
|
||||
join_list = join_nodes + custom_join_ast(manager, string_joins)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user