Class: City
- Inherits:
-
USA::Record
- Object
- ActiveRecord::Base
- USA::Record
- City
- Includes:
- USA::Seeded
- Defined in:
- app/models/city.rb
Overview
A city, town or census designated place: what a street address is addressed to.
Constant Summary
Constants included from USA::Seeded
Instance Method Summary collapse
-
#to_s ⇒ String
The default representation (used in views).
Methods inherited from USA::Record
Instance Method Details
#to_s ⇒ String
Returns the default representation (used in views).
15 |
# File 'app/models/city.rb', line 15 def to_s = "#{name} (#{state.code})" |