Assign one object to another object

Assign one object (e.g. Taxonomy, or TermsAndConditions) to another object (e.g. Page). The two objects should be connected in many_many (or belongs_many_many) relationship, else an exception will be thrown out.
Bad grammar, please change to "The base objects will be created if they *do* not exist already"