Module: Model::Address

Extended by:
ActiveSupport::Concern
Included in:
Profiled::Address
Defined in:
app/models/profiled/model/address.rb

Instance Method Summary collapse

Instance Method Details

#contentObject



28
29
30
# File 'app/models/profiled/model/address.rb', line 28

def content
  "#{area.full_name} #{detail}"
end

#sync_cached_keyObject



24
25
26
# File 'app/models/profiled/model/address.rb', line 24

def sync_cached_key
  self.cached_key = [area_id, detail, contact, tel].join(',')
end