metaprogramming models

Wait, wait, let me understand better the boundaries of this problem.

Could you reply to my question above? If Foo is a metaprogrammed class, does

    bin/rails runner Foo

work? If yes, how?

Once I know the answer to this, more questions will surely follow.