I'm developing a Rails application which is using Sequel ORM and which doesn't use ActiveRecord. rails_db depends on ActiveRecord and assumes that ActiveRecord is initialized which is not the case for some RoR applications (like mine).
After these changes rails_db worked for me.
I think that rails_db should manage its dependency on activerecord on its own instead of just assuming that it is already initialized by the host application. While this is true for majority of RoR apps, this is not the case for some of them. Simple inclusion of ActiveRecord as a dependency fixes the issue for the case with no harm for others.
I'm developing a Rails application which is using Sequel ORM and which doesn't use ActiveRecord.
rails_db
depends on ActiveRecord and assumes that ActiveRecord is initialized which is not the case for some RoR applications (like mine).After these changes
rails_db
worked for me.I think that
rails_db
should manage its dependency onactiverecord
on its own instead of just assuming that it is already initialized by the host application. While this is true for majority of RoR apps, this is not the case for some of them. Simple inclusion of ActiveRecord as a dependency fixes the issue for the case with no harm for others.