use the castle_gates namespace for associations

active record has associations too.