简体   繁体   中英

Can I use activerecord-nulldb-adapter in JRuby

I use activerecord-nulldb-adapter in Ruby to test the case which using active record because I don't want to connect to DB.

But in JRuby , I don't know well Can I use activerecord-nulldb-adapter or not?

If can't use, Is there anything can I use instead of activerecord-nulldb-adapter in JRuby.

是的,您可以使用activerecord-nulldb-adapter因为它是在纯Ruby中实现的,因此将在JRuby下运行: https : //github.com/nulldb/nulldb

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM