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

connection with rebuild does not work #151

Closed
garytaylor opened this issue Dec 9, 2015 · 2 comments
Closed

connection with rebuild does not work #151

garytaylor opened this issue Dec 9, 2015 · 2 comments

Comments

@garytaylor
Copy link
Contributor

Whilst not a documented feature and I have found a solution - I just wanted to let you know that I had found this in case you weren't aware.

The connection method on the Resource class has a "rebuild" parameter. However, this is not used - I would expect it to be passed to the underlying _build_connection call

Thanks

@drock
Copy link
Contributor

drock commented Dec 11, 2015

I just ran into this as well and submitted PR #152 with a fix.

@drock
Copy link
Contributor

drock commented Dec 14, 2015

You can temporarily work around this by using _build_connection directly:

Base.send(:_build_connection, true) do |conn|
 ...
end

chingor13 added a commit that referenced this issue Dec 14, 2015
pass rebuild flag to _build_connection fixes #151
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

2 participants