4 ms·
It was a honest question, I was curious if, using JRuby, I could use ActiveRecord as an ORM instead of Sequel. I am not challenging any preference towards Seque
by pantulis 2y ago
It was a honest question, I was curious if, using JRuby, I could use ActiveRecord as an ORM instead of Sequel. I am not challenging any preference towards Sequel.
- Lio 2y agoYes you can use either. I think you might be slightly more limited in your choice of database drivers compared to MRI Ruby but I believe there’s a JDBC driver that should fill the gap.
- Alifatisk 2y agoI wasn't sure about how I should interpret your question or if it was statement, that's why I asked. Yes, you can use the jdbc adapter made by the JRuby team! https://github.com/jruby/activerecord-jdbc-adapter https://github.com/jruby/activerecord-jdbc-adapter Though, in my opinion, the best combo has been Sinatra + Sequel.