Class: InscriptioCursualis::Street

Inherits:
Model
  • Object
show all
Defined in:
app/models/inscriptio_cursualis/street.rb

Direct Known Subclasses

Street

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.activeObject



16
17
18
# File 'app/models/inscriptio_cursualis/street.rb', line 16

def self.active
  where(inactive: false)
end

Instance Method Details

#to_sObject



20
21
22
# File 'app/models/inscriptio_cursualis/street.rb', line 20

def to_s
  "#{street_type} #{name}"
end