-
Notifications
You must be signed in to change notification settings - Fork 565
Fix Rails 6.1 database config #861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Rails 6.1 database config #861
Conversation
Still does not seem to work This error is from the https://github.com/rails-sqlserver/ss_app, which I upgraded to Rails 6.1 https://github.com/runephilosof/ss_app/tree/rails6.1.
It also fails when running
|
@runephilosof-abtion I believe you need to point your gemfile at the rails-6-1-support branch, it defaults to master. Try something like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joshleblanc You are correct. How embarrassing. It is working perfectly.
@wpolicarpo It would be nice to get this merged. Might want to authenticate to docker.com to increase the limit. But it should not delay this important PR. |
@wpolicarpo any estimates when it will be merged? |
@joshleblanc can please you rebase your branch against |
8eabfe1
to
6f04fdc
Compare
lib/active_record/connection_adapters/sqlserver/schema_statements.rb
Outdated
Show resolved
Hide resolved
lib/active_record/connection_adapters/sqlserver/core_ext/array_handler.rb
Outdated
Show resolved
Hide resolved
lib/active_record/connection_adapters/sqlserver/core_ext/array_handler.rb
Outdated
Show resolved
Hide resolved
lib/active_record/connection_adapters/sqlserver/schema_statements.rb
Outdated
Show resolved
Hide resolved
85951c3
to
deccbc8
Compare
Removed the 2 already-implemented fixes, updated the database tasks to use the configuration hash when required, rather than hash with indifferent access. |
deccbc8
to
fc6ca01
Compare
This PR expands on #854.
In addition to #854, it fixes a problem with
rake db:create
failing to run, as well as fixes queries on arrays throwing.As a happy accident, this also fixes #841