mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 16:38:18 +00:00
8 lines
161 B
Ruby
8 lines
161 B
Ruby
module HasAddress
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
belongs_to :address
|
|
accepts_nested_attributes_for :address, update_only: true
|
|
end
|
|
end
|