rails_wordpress icon indicating copy to clipboard operation
rails_wordpress copied to clipboard

Support for custom WP db_prefixes option is strongly needed!

Open looolia opened this issue 7 years ago • 1 comments

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.

looolia avatar Jul 13 '17 08:07 looolia

@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.

mwlang avatar Jul 13 '17 18:07 mwlang