Skip to content

Fix check for postgres database#1108

Merged
taylor-steve merged 1 commit intomainfrom
fix-query
Jan 29, 2025
Merged

Fix check for postgres database#1108
taylor-steve merged 1 commit intomainfrom
fix-query

Conversation

@corylown
Copy link
Member

We'd like this condition to pass when the postgres adapter is being used.

3.3.0 :001 > ActiveRecord::Base.connection == ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
 => false 
3.3.0 :002 > ActiveRecord::Base.connection.instance_of?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)
 => true 

@taylor-steve taylor-steve merged commit 5bc18b5 into main Jan 29, 2025
3 checks passed
@taylor-steve taylor-steve deleted the fix-query branch January 29, 2025 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants