Skip to content

Conversation

@choallin
Copy link

@choallin choallin commented Aug 26, 2019

This PR solves issue #12 and makes it possible for the user of the gem to use a self defined boolean domain.

E.g. if the user uses a domain with 'F' and 'T' for false and true he can add this

ActiveRecord::ConnectionAdapters::FirebirdAdapter.boolean_domain = { :true => 'T', :false => 'F', :name => 'GMS_BOOLEAN', :type => 'char' , limit: 1}

in a initializer and the adapter will map true to 'T' and false to 'F' in the queries.

I think for a better history this PR should be merged as 1 big committ.

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.

1 participant