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 3.1 Support #58

Merged
merged 14 commits into from
Nov 25, 2011
Merged

Rails 3.1 Support #58

merged 14 commits into from
Nov 25, 2011

Conversation

kanevski
Copy link
Contributor

These changes help get Octopus almost fully across the Rails 3.1 support finish line.

  • Fixes test environment setup
  • Fully fixes migrations
  • Fixes associations
  • Performance improvements with Octopus.using

Only a couple of specs don't pass, but they're pretty minor and the problems look to be with the specs rather than Octopus functionality.

Ivan Kanevski and others added 12 commits November 7, 2011 22:16
chained and current_shard is available as instance var.
Migrations use ActiveRecord::Base.connection_pool which should be
aware of current_shard context.  Also, when connections get removed
Octopus still retains reference to closed connection pool.  For now,
make sure we are able to automatically recreate connections, which
is what would happen in Rails 3.0
…ized on load. Makes Octopus.find more performant
@sobrinho
Copy link
Collaborator

Seems fine to me.

@tchandy, ping?

@thiagopradi
Copy link
Owner

amazing!

I need to review the failing spec, but will merge ASAP.

Thanks for your work!

@kanevski
Copy link
Contributor Author

Let me know if I can help in any way. :-)

Also, last two commits were meant for a separate branch I was playing with, so ignore accordingly.

thiagopradi added a commit that referenced this pull request Nov 25, 2011
@thiagopradi thiagopradi merged commit c2f36f0 into thiagopradi:master Nov 25, 2011
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.

3 participants