manu
Mon Apr 09 2018
You can scope relations like
has_many
, has_one
and belongs_to
. Eg: has_one :policy, -> { where active: true }
manu
Mon Apr 09 2018
has_many
, has_one
and belongs_to
. Eg: has_one :policy, -> { where active: true }