jorgemanrubia / forceps

Copy active record models from remote databases
MIT License
265 stars 26 forks source link

Can not view all the models from Remote. #15

Open SinghSatyam opened 9 years ago

SinghSatyam commented 9 years ago

When I am trying Forceps.configure, I have like 15 models but I am getting messages for only 10 models i.e DEBUG : Classes handled by Forceps: ["Delayed::Backend::ActiveRecord::Job", "PaperTrail::Version", "Role", "AdminUser", "User", "UserAttribute", "Plan", "Tag", "Question", "ActiveAdmin::Comment"]

HParker commented 7 years ago

Are all of your models eager loaded?

https://github.com/jorgemanrubia/forceps#rails-and-lazy-loading

I also noticed that the config in the initializer works better for me than calling eager_load! directly.