How can I setup Minitest fixtures to test Apartment using postgres schemas using Apartmengem


0 votes
asked Feb 14, 2016 by Erline (370 points)
I am building multi tenant app in Rails using Apartment Gem and Postgresql 9 I hope you guys help me get out of this problem

4 Answers

0 votes
answered Mar 14, 2016 by apprecia (1,080 points)
 
Best answer
I have a utility class that basically does this for you. Log cat provides you which type of error occurred and try to solve that
0 votes
answered Feb 16, 2016 by Guv5564Ti (920 points)
commented Feb 16, 2016 by Nancey (1,510 points)
This is how I solved this problem
0 votes
answered Feb 21, 2016 by pel_63 (770 points)
Full doc with all options: c#,java,php,javascript,android,jquery,iphone,c++,asp.net ... it also helped :)
+2 votes
answered Mar 5, 2016 by Fgn7585 (240 points)
I came up with a solution that involves a counter like this
Inspiration came from this article http://lpaste.net/145552

Related questions


What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...