(Jorge Barata Gonzalez)
I can link related models using ActiveRecord::link().
I miss some method to check whether both models have already been linked. I would be useful for checking the existence of the link before linking it.
public function isLinked($name, $model)
What if it is valid to have 2 links? i.e. pivot table wihtout unique constraint.
@samdark: That was not the question. Even if it’s valid it could be useful to check for an existing link.