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
I use validates_presence_of :foo_id. It works.
validates_presence_of :foo_id