Skip to content

Check db connection #215

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

Merged
merged 3 commits into from
Jul 17, 2016
Merged

Conversation

aaroalan
Copy link
Contributor

Class has_closure_tree.rb was validating only the Heroku config unfortunately other PaaS like Catalyze does not have the same configuration, after this PR will be posible create a config file and skip the error when app is deployed for one of those platforms.

@Xodarap
Copy link

Xodarap commented Jun 6, 2016

This was causing me problems as well. Because closure_tree is not correctly determining that we are in the deployment phase, it tries to connect to the database but fails since the containers haven't been hooked up yet.

Could this be merged in so that we can use closure tree in these environments?

@mceachen
Copy link
Collaborator

mceachen commented Jun 6, 2016 via email

attr_accessor :app_name, :database_less

def initialize
@app_name = 'Amazing app'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you explain why we have an app name here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this momment that configuration is not used, first commit add the configuration file I thought would be weird a configuration file with no configurations that's why I added that also it can be deleted

@Xodarap
Copy link

Xodarap commented Jun 20, 2016

Thanks @mceachen! Let me know if there is something I can do to help this get merged in faster

@Xodarap
Copy link

Xodarap commented Jun 30, 2016

Hey @mceachen , @aaroalan – any updates on this? Anything I can do to help?

@aaroalan
Copy link
Contributor Author

Hi @mceachen it's something that I can do to help with this?

@mceachen
Copy link
Collaborator

mceachen commented Jul 15, 2016 via email

@seuros
Copy link
Member

seuros commented Jul 15, 2016

@aaroalan remove the unused config and update the changelog.

@aaroalan aaroalan force-pushed the check_db_connection branch from 221e9bd to 374ad90 Compare July 15, 2016 13:34
@aaroalan
Copy link
Contributor Author

@seuros, I updated PR with your comments. Thanks

@seuros seuros merged commit 559a69d into ClosureTree:master Jul 17, 2016
@seuros
Copy link
Member

seuros commented Jul 17, 2016

thank you @aaroalan

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.

4 participants