activerecord: create a different table class if the connection option is different