Class: State

Inherits:
ActiveRecordShared show all
Defined in:
app/models/state.rb

Overview

Currently just US states + DC

Class Method Summary collapse

Class Method Details

.abbreviationsObject

Returns an array of state abbreviations.



21
22
23
# File 'app/models/state.rb', line 21

def self.abbreviations
	@@abbreviations ||= all.collect(&:code)
end