Noah Summers

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Since the target of merge is already an Address collection, you can even use the scope methods directly:

has_one :billing_address,  -> { billing },  class_name: :Address
has_one :shipping_address, -> { shipping }, class_name: :Address