Open svenihoney opened 9 years ago
Hi Sven,
Yes, ActiveRecord tables without an associated model will break things, so you have to whitelist your models with config.models
This has come up a couple of times now in different forms (there's PR #126 for HABTM tables for example), so I'm thinking we might need to be smarter about what gets counted as a model by default.
If I activate the ActiveRecord session store as shown on https://github.com/rails/activerecord-session_store, upmin bails out with an "uninitialized constant Upmin::ActiveRecord::SessionStore" with the following exception:
This can be reproduced in my application as well as with a freshly checked out test app active_record42 from github. I use ruby 2.1.5 with rbenv.
Is there any place where additional configuration has to be done? As soon as I remove the session store gem from the Gemfile, upmin is back working.
Regards, Sven