Sha256: 8770727c20aa7da55c9a3880d34929fe6e115afbaa7128e45588ed2288981d84

Contents?: true

Size: 366 Bytes

Versions: 8

Compression:

Stored size: 366 Bytes

Contents

# == Schema Information
#
# Table name: states
#
#  id           :integer         not null, primary key
#  name         :string(128)     default(""), not null
#  abbreviation :string(3)       default(""), not null
#  country_id   :integer(8)      not null
#

class State < ActiveRecord::Base
  belongs_to :country
  named_scope :by_name, :order => "name ASC"
  
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
muck-engine-0.4.26 app/models/state.rb
muck-engine-0.4.25 app/models/state.rb
muck-engine-0.4.24 app/models/state.rb
muck-engine-0.4.23 app/models/state.rb
muck-engine-0.4.21 app/models/state.rb
muck-engine-0.4.17 app/models/state.rb
muck-engine-0.4.16 app/models/state.rb
muck-engine-0.4.15 app/models/state.rb