Skip to content
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

Rails 6 release #539

Closed
brlo opened this issue Sep 12, 2019 · 6 comments
Closed

Rails 6 release #539

brlo opened this issue Sep 12, 2019 · 6 comments

Comments

@brlo
Copy link

brlo commented Sep 12, 2019

Once the first version of Rails 6 beta is released, there will be a migration guide to help users migrate from Octopus to Rails 6.

https://weblog.rubyonrails.org/2019/8/18/this-week-in-rails-rails-6-is-released-sass-rails-6-improved-mysql2-error-and-more/

@thiagopradi
Copy link
Owner

@brlo - I haven't started writing the guide yet - will do it soon. I'll keep this issue open to track progress.

@one-more-alex
Copy link

Just an note.
Multi-database support there is poor...
Maybe it worth extend support on at least Rails 6.0.
For example, this bug rails/rails#37837

For myself I patched Octopus.rails52? to say "true" for Rails 6.0.
And it works so far except the place at ar-octopus-0.10.2/lib/octopus/model.rb in "def init_with(coder)".
Code coder['attributes']['current_shard'] raises exception because coder['attributes'] is null.
It have 'concise_attributes' instead.

But as for me, just need put there

return obj unless coder['attributes'].present?

My use of Octopus if very small (only for second independent connection to same database). So will hope it will work, till solution decision will be found.

@tibbon
Copy link

tibbon commented May 18, 2020

Very interested in a Rails 6 migration guide.

@sekiyama58
Copy link
Contributor

Just for who are interested in ...

I am developing the Octoball gem to make it easier to upgrade Octopus-based applications to Rails 6.1.
This gem provides Ocotpus-like sharding methods like Model.using(:shard_name) and shard tracking features, implemented on Rails 6.1 native multi-shard connection handling mechanism. Some of Octopus' features like round-robin scheduler of replicas are omitted for now.

Currently Rails 6.1 is still rc1, so I'm going to release this after the official release.
So far, it passes the specs derrived from Octopus with Rails6.1-rc1. Any tests, comments are welcome.

@thiagopradi
Copy link
Owner

Closing this issue in favor of #532.

@rn-modi
Copy link

rn-modi commented Jan 4, 2023

> #532

Any updates on the document @thiagopradi

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

No branches or pull requests

6 participants