I have a relationship in my ActiveRecord based model that looks like:
belongs_to :foo
My model should always have foo defined in it for it to b
You may want to consider validates_associated
validates_associated
This will make sure that the association is valid.