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

including terminal-table breaks activerecord queries #404

Closed
desheikh opened this issue Feb 20, 2015 · 9 comments
Closed

including terminal-table breaks activerecord queries #404

desheikh opened this issue Feb 20, 2015 · 9 comments

Comments

@desheikh
Copy link

As referenced in tj/terminal-table#47, terminal-table monkeypatches the ruby String class, which breaks activerecord queries. This prevents us from using gooddata-ruby in our rails app.

@desheikh desheikh changed the title including terminal-table breaks activerecord including terminal-table breaks activerecord queries Feb 20, 2015
@korczis korczis added the Bug label Mar 2, 2015
@korczis korczis added this to the 0.6.15 milestone Mar 2, 2015
@fluke777
Copy link
Contributor

fluke777 commented Mar 2, 2015

Hey @desheikh sorry for later response. This is unfortunate. I see no response from terminal-table team. We are currently working on fixing some smaller issues. We will let you know how we decide about proceeding. By any chance do you understand the reason why they alias String#ljust, to left?

@desheikh
Copy link
Author

desheikh commented Mar 3, 2015

Hi @fluke777, the alias just seems to be for cosmetic reasons, the fix seems pretty simple but I haven't been able to get the test suite to run though.

I'm working off a fork which removes the cli dependencies for now. It feels that functionality could really just be split off to a separate gem.

@fluke777
Copy link
Contributor

fluke777 commented Mar 3, 2015

@desheikh Comsetic reasons are the worst :-) We can prepare the fix the question is if the author will merge it. Worst case we will remove the dependency. Hopefully there is something out there that does something similar.

@nateberkopec
Copy link

This is fixed on master in terminal-table. I should have a release out soon.

@korczis korczis added jira and removed Bug labels Apr 17, 2015
@korczis
Copy link
Contributor

korczis commented Apr 29, 2015

@nateberkopec Thank you for info, do you have any idea when new version could get released?

@korczis
Copy link
Contributor

korczis commented Apr 29, 2015

Related to tj/terminal-table#45

@nateberkopec
Copy link

Sorry, I don't - what you see in that issue thread is all I know.

@fluke777 fluke777 removed this from the 0.6.15 milestone Jun 4, 2015
@fluke777
Copy link
Contributor

I am closing this. We updated to the latest version recently. Thanks everybody who helped to get the new release of terminal-table out.

@nateberkopec
Copy link

🎉

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

4 participants