I have an issue with a dynamic active admin scope. I am attempting to create a scope for each \"manager\" of a \"project\" in my app. However, the scopes don\'t seem to up
Rails only loads classes once in production mode. This means your scopes are only being called once and then they are cached. This is why new scopes don't show up until after a restart. The same thing would be true if you edited the manager's first name in your case.
I think the solution may be to use a lambda or Proc, but in the few minutes I played with it, I wasn't successful. It may not be possible the way activeadmin is written too.