Sha256: 74bb9bc58c1234f5e92535bc8662c91c6c9c95ece9c3f25e3dc2c756b8e5c752

Contents?: true

Size: 180 Bytes

Versions: 4

Compression:

Stored size: 180 Bytes

Contents

class City < ActiveRecord::Base
  include Carnival::ModelHelper
  

  belongs_to :country
  belongs_to :state
  has_many :addresses
  has_many :people, :through => :addresses

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carnival-0.1.3 test/carnival-sample-application/app/models/city.rb
carnival-0.1.2 test/carnival-sample-application/app/models/city.rb
carnival-0.1.1 test/carnival-sample-application/app/models/city.rb
carnival-0.1.0 test/carnival-sample-application/app/models/city.rb