Skip to content

Commit

Permalink
Merge pull request #576 from kbrock/warnings
Browse files Browse the repository at this point in the history
Minor Warnings
  • Loading branch information
kbrock committed May 5, 2022
2 parents 946f20d + 1754f39 commit 6a6d3e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/ancestry/materialized_path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def indirects_of(object)
end

def descendants_of(object)
t = arel_table
node = to_node(object)
indirects_of(node).or(children_of(node))
end
Expand Down
4 changes: 2 additions & 2 deletions test/database.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ sqlite3:
pg:
adapter: postgresql
database: ancestry_test
hostname: 127.0.0.1
host: 127.0.0.1
port: 5432
username: postgres
password: password
min_messages: WARNING
mysql2: &mysql
adapter: mysql2
database: ancestry_test
hostname: 127.0.0.1
host: 127.0.0.1
port: 3306
username: root
password: password
Expand Down

0 comments on commit 6a6d3e7

Please sign in to comment.