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

Support for custom WP db_prefixes option is strongly needed! #4

Open
looolia opened this issue Jul 13, 2017 · 1 comment
Open

Support for custom WP db_prefixes option is strongly needed! #4

looolia opened this issue Jul 13, 2017 · 1 comment

Comments

@looolia
Copy link

looolia commented Jul 13, 2017

Hey! Yulia is here ^^
I asked you if your could add support of custom DB prefixes into your gem please?
Currently it supports only wp_ default prefixes, but there is no option to set other value, so in case if the project have something other, e.g. "xll_wp_" on any query to the any Wordpress::Xxxxxx model the gem will obviously return error that expected relation is not found in the database :(
Please work on a solution for this problem if you have time and passion =^o^=
Thanks,
Yulia.

@mwlang
Copy link
Owner

mwlang commented Jul 13, 2017

@yulia, I've added support for prefixes. It was a fairly quick change. Test it and confirm it works. look for release 0.2.1 for this one.

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