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
#content ⇒ Object
28 29 30 |
# File 'app/models/profiled/model/address.rb', line 28 def content "#{area.full_name} #{detail}" end |
#sync_cached_key ⇒ Object
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 |